<?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>Jonathan C Dickinson &#187; Web</title>
	<atom:link href="http://jonathan.dickinsons.co.za/blog/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathan.dickinsons.co.za/blog</link>
	<description>&#34;Jonathan Chayce Dickinson&#34;.ToString()</description>
	<lastBuildDate>Wed, 01 Sep 2010 08:44:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How to Use Is.Gd/Tiny Url/Bookmarklet-X in Chrome</title>
		<link>http://jonathan.dickinsons.co.za/blog/2009/06/how-to-use-isgdtiny-urlbookmarklet-x-in-chrome/</link>
		<comments>http://jonathan.dickinsons.co.za/blog/2009/06/how-to-use-isgdtiny-urlbookmarklet-x-in-chrome/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 08:22:19 +0000</pubDate>
		<dc:creator>Jonathan Dickinson</dc:creator>
				<category><![CDATA[Migrated]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://jonathan.dickinsons.co.za/blog/?p=14</guid>
		<description><![CDATA[How to get the most out of bookmarklets in Google Chrome.]]></description>
			<content:encoded><![CDATA[<p>This morning I got sick of having to constantly open my bookmark toolbar to  use Is.Gd (it just messes with the zen of Chrome) so I tried to figure out how to have it as a shortcut.</p>
<p>One option is to name the bookmark something like !gd, while this works, you  have to type it in and press (down) twice, then enter. Not my cup of tea.</p>
<p>As it turns out Chrome doesn&#8217;t really need a query for a search engine, if  you make a engine with no location for the query string pressing Enter will  invoke it immediately.</p>
<p>So here are the steps:</p>
<ol>
<li>Right click on the link.</li>
<li>Select copy link address.</li>
<li>(Wrench) -&gt; Options</li>
<li>Basics tab.</li>
<li>To the right of &#8220;Default Search:&#8221; click Manage.</li>
<li>Click Add.</li>
<li>Give it a name (mine was Is.Gd)</li>
<li>Give it a keyword (like !isgd).</li>
<li>Paste in the URL.</li>
<li>Ok. Close. Close.</li>
<li>Right click the bookmark on your bookmark tab.</li>
<li>Delete.</li>
</ol>
<p>I tend to create bang-like keywords; just put an exclamation point in front of them.</p>
<p>The only shortcoming right now is that the bookmarks cant contain braces (&#8220;{&#8221; and &#8220;}&#8221;) and you may need to tweak them &#8211; a little. Jon Galloway has an ace bookmarklet that will <a href="http://weblogs.asp.net/jgalloway/archive/2008/08/30/msdn-low-bandwidth-bookmarklet.aspx">switch MSDN to the low bandwidth view</a>. The original format of the link is:</p>
<div class="code-header">Original bookmarklet</div>
<pre class="brush: js;">
javascript:
 if(document.cookie.indexOf('LoBandEnabled=yes')&lt;0)
 {
  document.cookie='LoBandEnabled=yes;path=/;domain=.microsoft.com;%20expires=Wed,%2001-Aug-2040%2008:00:00%20GMT';
 }
 else
 {
  document.cookie='LoBandEnabled=no;path=/;domain=.microsoft.com;%20expires=Wed,%2001-Aug-2040%2008:00:00%20GMT';
 }
 window.location.reload();
</pre>
<p>The first thing you can do is to strip off the <em>window.location.reload();</em>, Chrome does that in any case. The second thing you will have to do is to split it into two seperate bookmarklets.</p>
<div class="code-header">Seperate bookmarklets</div>
<pre class="brush: js; gutter: false; highlight: [1,3];">
document.cookie='LoBandEnabled=yes;path=/;domain=.microsoft.com;%20expires=Wed,%2001-Aug-2040%2008:00:00%20GMT';

document.cookie='LoBandEnabled=no;path=/;domain=.microsoft.com;%20expires=Wed,%2001-Aug-2040%2008:00:00%20GMT';
</pre>
<p>Finally turn them into methods and add the javascript prefix:</p>
<div class="code-header">Final bookmarklets</div>
<pre class="brush: js; gutter: false; highlight: [1,3];">
javascript:void(document.cookie='LoBandEnabled=yes;path=/;domain=.microsoft.com;%20expires=Wed,%2001-Aug-2040%2008:00:00%20GMT';)

javascript:void(document.cookie='LoBandEnabled=no;path=/;domain=.microsoft.com;%20expires=Wed,%2001-Aug-2040%2008:00:00%20GMT';)
</pre>
<p>You can then create two bookmarklets. Mine were <em>!mlon</em> and <em>!mloff</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jonathan.dickinsons.co.za/blog/2009/06/how-to-use-isgdtiny-urlbookmarklet-x-in-chrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
