<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Otaqui.Com &#187; browser</title>
	<atom:link href="http://otaqui.com/blog/tag/browser/feed/" rel="self" type="application/rss+xml" />
	<link>http://otaqui.com/blog</link>
	<description>Pete Otaqui's blog about web development and everything else</description>
	<lastBuildDate>Wed, 23 Jun 2010 09:55:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Complete List of Special Google Chrome URLs</title>
		<link>http://otaqui.com/blog/539/complete-list-of-special-google-chrome-urls/</link>
		<comments>http://otaqui.com/blog/539/complete-list-of-special-google-chrome-urls/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 20:12:54 +0000</pubDate>
		<dc:creator>pete</dc:creator>
				<category><![CDATA[Professional]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://otaqui.com/blog/?p=539</guid>
		<description><![CDATA[Google Chrome has quite a lot of special URLs. Some of these are covered over at Lifehacker in their post on Chrome&#8217;s about pages, but the meta &#8220;about:&#8221; protocol isn&#8217;t the only one that Chrome uses. Waha, a user on the chromeplugins.org site posted a much more complete list of URL schemes that Chrome uses. [...]]]></description>
			<content:encoded><![CDATA[<p>Google Chrome has quite a lot of special URLs.  Some of these are covered over at Lifehacker in their <a href="http://lifehacker.com/5045164/google-chromes-full-list-of-special-about-pages">post on Chrome&#8217;s about pages</a>, but the meta &#8220;about:&#8221; protocol isn&#8217;t the only one that Chrome uses.</p>
<p>Waha, a user on the chromeplugins.org site posted <a href="http://www.chromeplugins.org/google/chrome-tips-tricks/about-chrome-more-internal-urls-7793.html">a much more complete list of URL schemes</a> that Chrome uses.  Waha was looking at the <a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/url_constants.cc">url_constants.cc</a> source file, along with some other stuff, to work this list out.</p>
<p>I&#8217;ve ignored the virtually universal set of protocols that are in just about every browser: http, https, ftp, file, data, feed and javascript, and also the URLs that cannot be entered into the address bar (not using Chrome 5 on OS X Snow Leopard anyway).</p>
<p>Without further ado, here&#8217;s the list:</p>
<ul>
<li><a href="about:blank">about:blank</a> &#8211; the empty page</li>
<li><a href="about:cache">about:cache</a> &#8211; disk and memory cache information</li>
<li><a href="about:net-internals">about:net-internals</a> &#8211; network information including Proxy, HostResolver, URLRequest, HTTPCache and SocketStream</li>
<li><a href="about:crash">about:crash</a> &#8211; the page shown when a tab process crashes</li>
<li><a href="about:credits">about:credits</a> &#8211; list of libraries and other code used in Chrome, with links</li>
<li>about:hang &#8211; this seems to kill a tab for me (I haven&#8217;t linked for that reason &#8211; use at your own risk)</li>
<li><a href="about:memory">about:memory</a> &#8211; memory usage of the various processes</li>
<li>about:shorthang &#8211; see about:hang above</li>
<li><a href="about:terms">about:terms</a> &#8211; Google Chrome Terms of Service</li>
<li>about:inducebrowsercrashforrealz &#8211; not many lolz here</li>
<li><a href="chrome://extensions/">chrome://extensions/</a> &#8211; installed extensions</li>
<li><a href="chrome://history/">chrome://history/</a> &#8211; your browsing history</li>
<li><a href="chrome://newtab">chrome://newtab</a> &#8211; the new tab page</li>
<li><a href="chrome://thumb/http://www.google.com/">chrome://thumb/http://www.google.com/</a> &#8211; thumbnail for a page you&#8217;ve visited</li>
<li><a href="chrome://favicon/http://www.google.com/">chrome://favicon/http://www.google.com/</a> &#8211; favicon for a page you&#8217;ve visited</li>
<li><a href="view-source:http://otaqui.com/blog/539/complete-list-of-special-google-chrome-urls">view-source:http://otaqui.com/blog/539/complete-list-of-special-google-chrome-urls</a> &#8211; view the source of a web page</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://otaqui.com/blog/539/complete-list-of-special-google-chrome-urls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable Google Gears and Offline Gmail for Mozilla Prism</title>
		<link>http://otaqui.com/blog/382/enable-google-gears-and-offline-gmail-for-mozilla-prism/</link>
		<comments>http://otaqui.com/blog/382/enable-google-gears-and-offline-gmail-for-mozilla-prism/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 10:18:01 +0000</pubDate>
		<dc:creator>pete</dc:creator>
				<category><![CDATA[Professional]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://otaqui.com/blog/?p=382</guid>
		<description><![CDATA[[Warning: this post suggests stuff that may not work now, or may break in the future. Use at your own risk!] I&#8217;m really happy to hear that, as the official google blog points out, Gmail now has support for Google Gears allowing you to view your mail offline. This has caused quite a stir in [...]]]></description>
			<content:encoded><![CDATA[<p><em>[<strong>Warning</strong>: this post suggests stuff that may not work now, or may break in the future.  Use at your own risk!]</em></p>
<p>I&#8217;m really happy to hear that, <a href="http://gmailblog.blogspot.com/2009/01/new-in-labs-offline-gmail.html">as the official google blog points out</a>, Gmail now has support for Google Gears allowing you to view your mail offline.</p>
<p>This has caused quite a stir in the blogging community &#8211; <a href="http://www.techcrunch.com/2009/01/27/gmail-goes-offline-with-google-gears/">TechCrunch invites you to throw off your chains</a>, <a href="http://googlewatch.eweek.com/content/google_gears/googles_offline_gmail_points_to_greater_google_gears_exposure.html">GoogleWatch speculates that it might be the tipping point for Gears adoption</a>, <a href="http://www.bytebot.net/blog/archives/2009/01/28/offline-gmail-via-google-gears">Colin Charles mentioning SSBs such as Fluid and Prism</a> (which this article is about), <a href="http://googlesystem.blogspot.com/2009/01/10-good-things-about-offline-gmail.html">Google Operating System giving a basic overview</a> and also <a href="http://gadgetwise.blogs.nytimes.com/2009/01/29/googles-gmail-now-works-offline/">the GadgetWise NYT blog giving it a spread</a>.</p>
<p>So far, so good.  Now what if we want to use a Site Specific Browser, such as those created by <a href="http://fluidapp.com">Fluid</a> and <a href="http://labs.mozilla.com/projects/prism/">Mozilla Prism</a>?  These &#8220;SSBs&#8221; are essentially entire browsers, but used only for a single web app &#8211; which is quite handy really.  I think that Google&#8217;s paradigm of basically making each tab / window in your browser it&#8217;s own application instance may well remove the need for things like this eventually, but for the time being it would be great to use Gmail&#8217;s new offline capability in an SSB.</p>
<p>Well &#8211; we can&#8217;t do much about enabling Gears in Fluid, since it&#8217;s based on WebKit.  Check back if you here that Google releases some frm of plugin for WebKit (although actually WK already has HTML5 style &#8220;local storage&#8221; using SQLite so it could be native support).</p>
<p>We can however do some hacking to get Gears installed in a Prism browser, so let&#8217;s go through the process.  By the way &#8211; I am using Mac OS X 10.5, but I think this should work for any platform that can get Firefox and Google Gears.</p>
<p>I&#8217;m using a Google Apps For Your Domain account, it&#8217;s worked fine there, although your account will have to have Offline access enabled by google (patience, young grasshopper!).</p>
<h3>Step 1: Split a Beam</h3>
<p>Go and <a href="http://labs.mozilla.com/projects/prism/">install Mozilla Prism</a>. I did this by installing it as an extension to my current Firefox.</p>
<p>Once it&#8217;s installed and you have restarted the browser, login to your Gmail and from the Tools menu choose &#8220;Convert Website To Application.&#8221;</p>
<p>Choose whatever options you like in terms of where to put the shortcut.  Personally I grabbed <a href="http://chris.ivarson.name/goodies/">Chris Ivarson&#8217;s awesome Fluid Gmail Icons</a> and used Preview.app to convert the 128&#215;128 version into a PNG file.</p>
<p>I *also* had a slight issue with not being able to create the app inside the Applications folder, because it needed to Authenticate but just failed silently &#8211; YMMV.</p>
<p>Assuming that&#8217;s done you should have a nice new Gmail SSB, which you can start and log in to Gmail with.  Funky.</p>
<h3>Step 2: Start The Fans, Please!</h3>
<p>[Note: you have to be older than young, from the UK and to know who Richard O'Brien is to get that "start the fans" bit]</p>
<p>So now we need to get Google Gears installed.  You can try doing this from Gmail&#8217;s own interface but it will fail complaining that &#8220;Gears is not compatiable with XYZ&#8221; (where XYZ is the name you gave it and a version number).  This is because, even though your Gmail webapp *is( Firefox under the hood, it doesn&#8217;t report itself as such to the extension.  What we need to do is convince the extension that it is in fact compatible with it.</p>
<p>[Note: it might be more efficient if you want to install several extensions to make your SSB report itself as really being Firefox, but I'm happy with a one-at-a-time approach].</p>
<p>The next thing to do is actually download Google Gears manually.  I suggest that you really do try (and fail) to install it from inside the Prism app, because you will be told the current, valid URL for the XPI in the process.  If you&#8217;re super lazy, here&#8217;s where I got mine from (not a link so that you&#8217;re encouraged to FIND THE RIGHT URL FOR YOURSELF!):</p>
<p>http://dl.google.com/gears/current/gears-osx-opt.xpi</p>
<p>You might want to use Safari / Opera / wget / IE to actually download it.</p>
<h3>Step 3: Unpack, Tweak, Repack</h3>
<p>An XPI file is in fact just a ZIP file with delusions of grandeur.  Rename the file to &#8220;gears-osx-opt.zip&#8221; and unpack it.</p>
<p>Now open up &#8220;install.rdf&#8221; and find the bit that looks like this:</p>
<p>&lt;em:targetApplication&gt;<br />
&lt;Description&gt;<br />
&lt;em:id&gt;{ec8030f7-c20a-464f-9b0e-13a3a9e97384}&lt;/em:id&gt;<br />
&lt;em:minVersion&gt;1.5&lt;/em:minVersion&gt;<br />
&lt;em:maxVersion&gt;3.0.*&lt;/em:maxVersion&gt;<br />
&lt;/Description&gt;<br />
&lt;/em:targetApplication&gt;</p>
<p>The big long string in curly brackets is the Firefox GUID.  We will need to change this, and also the version numbers.</p>
<p>I found the GUID and version numbers inside my (OS X-specific) &#8220;Gmail.app&#8221; that Prism created.  Control+Click on it and choose &#8220;Show Package Contents&#8221; then navigate to &#8220;Contents/Resources/application.ini&#8221; and open this in a text editor.  It is the &#8220;Version&#8221; and &#8220;ID&#8221; values that you want from the &#8220;[App]&#8221; section.</p>
<p>Applying these to the original install.rdf file we get this (I&#8217;ve extended the version numbers just for the hell of it):<br />
&lt;em:targetApplication&gt;<br />
&lt;Description&gt;<br />
&lt;em:id&gt;prism@developer.mozilla.org&lt;/em:id&gt;<br />
&lt;em:minVersion&gt;0.1.*&lt;/em:minVersion&gt;<br />
&lt;em:maxVersion&gt;10.0.*&lt;/em:maxVersion&gt;<br />
&lt;/Description&gt;<br />
&lt;/em:targetApplication&gt;</p>
<p>Save the edited &#8220;install.rdf&#8221; file and now you need to repack the zip / xpi.  Take note &#8211; you should compress the *files* and not the *directory* or it won&#8217;t work.</p>
<p>Change your newly created zip file&#8217;s extension back to XPI &#8211; and we&#8217;re ready to install!</p>
<h3>Step 4: Install</h3>
<p>This may vary across platforms, I&#8217;m not sure.</p>
<p>From the *status bar* (an unusual place to get to the Add Ons / Extensions list) of your Prism app, click the cog and choose &#8220;Tools&#8221;, &#8220;Addons&#8221;.  This should pop open the Add Ons panel.</p>
<p>Drag and drop the XPI onto the Add Ons panel and, hopefully, bingo!</p>
<p>If you get an error about &#8220;version support&#8221; then you might have got the ID or version number wrong somewhere.  If you get one about &#8220;cannot find install script&#8221; then your XPI / zip is badly formed.  Leave a comment if you need more help here.</p>
<h3>Step 5: Enable Gears for Gmail</h3>
<p>You&#8217;ll need to restart your browser and log back in to GMail.  Then you should be able to click the &#8220;Offline&#8221; icon at the top of the interface and go through the normal Gears &#8220;I trust this application&#8221; process.</p>
<p>That&#8217;s it!  You should now be able to access your mail offline.  It&#8217;s worth noting that the shortcut that gears can create for you to <em>open</em> your email while offline seems to work fine too.</p>
<p><em>[Update 31st Jan 2009: It looks like <a href="http://fluidapp.com/blog/2008/05/28/fluid-gears-update/">Fluid may support Gears sometime soon</a>!]</em></p>
]]></content:encoded>
			<wfw:commentRss>http://otaqui.com/blog/382/enable-google-gears-and-offline-gmail-for-mozilla-prism/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>
