<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" 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/" > <channel><title>Comments on: &#8220;Google Switch&#8221; Bookmarklet</title> <atom:link href="http://neilcowburn.com/2009/02/26/google-switch-bookmarklet/feed/" rel="self" type="application/rss+xml" /><link>http://www.neilcowburn.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fneilcowburn.com%2F2009%2F02%2F26%2Fgoogle-switch-bookmarklet%2F&#038;seed_title=%26%238220%3BGoogle+Switch%26%238221%3B+Bookmarklet&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss#utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=google-switch-bookmarklet</link> <description></description> <lastBuildDate>Wed, 20 Apr 2011 14:37:00 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Neil Cowburn</title><link>http://www.neilcowburn.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fneilcowburn.com%2F2009%2F02%2F26%2Fgoogle-switch-bookmarklet%2F&#038;seed_title=%26%238220%3BGoogle+Switch%26%238221%3B+Bookmarklet/comment-page-1/#comment-619</link> <dc:creator>Neil Cowburn</dc:creator> <pubDate>Wed, 15 Jul 2009 03:51:15 +0000</pubDate> <guid isPermaLink="false">http://www.neilcowburn.com/blog/?p=149#comment-619</guid> <description>&lt;p&gt;Thanks. I&#039;ve updated the typo in the code.&lt;/p&gt; </description> <content:encoded><![CDATA[<p>Thanks. I&#39;ve updated the typo in the code.</p>]]></content:encoded> </item> <item><title>By: norz</title><link>http://www.neilcowburn.com/feeder/?FeederAction=clicked&#038;feed=Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fneilcowburn.com%2F2009%2F02%2F26%2Fgoogle-switch-bookmarklet%2F&#038;seed_title=%26%238220%3BGoogle+Switch%26%238221%3B+Bookmarklet/comment-page-1/#comment-618</link> <dc:creator>norz</dc:creator> <pubDate>Tue, 14 Jul 2009 12:19:19 +0000</pubDate> <guid isPermaLink="false">http://www.neilcowburn.com/blog/?p=149#comment-618</guid> <description>&lt;p&gt;Thanks for the bookmarklet! :)&lt;br&gt;NB: there&#039;s an error in it: the operator should be &gt;, not &lt;, otherwise nothing gets replaced. :)&lt;br&gt;&lt;a href=&quot;javascript:function%20f(u)%20{%20if%20(u.indexOf(&#039;google.com/&#039;)%20&gt;%200)%20{%20u%20=%20u.replace(&#039;google.com&#039;,&#039;google.co.uk&#039;);%20}%20else%20{%20u%20=%20u.replace(&#039;google.co.uk&#039;,%20&#039;google.com&#039;);%20}%20window.location.href%20=%20u;%20};f(window.location.href);&quot; rel=&quot;nofollow&quot;&gt;Google Switch&lt;/a&gt;&lt;br&gt;&lt;br&gt;I changed it slightly to use the &#039;hl&#039; parameter, this works better imho to switch from the international version to the French version:&lt;br&gt;&lt;a href=&quot;javascript:function%20f(u)%20{%20if%20(u.indexOf(&#039;hl=en&#039;)%20&gt;%200)%20{%20u%20=%20u.replace(&#039;hl=en&#039;,&#039;hl=fr&#039;);%20}%20else%20{%20u%20=%20u.replace(&#039;hl=fr&#039;,%20&#039;hl=en&#039;);%20}%20window.location.href%20=%20u;%20};f(window.location.href);&quot; rel=&quot;nofollow&quot;&gt;Google Switch&lt;/a&gt;&lt;/p&gt; </description> <content:encoded><![CDATA[<p>Thanks for the bookmarklet! <img src='http://neilcowburn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br />NB: there&#39;s an error in it: the operator should be &gt;, not &lt;, otherwise nothing gets replaced. <img src='http://neilcowburn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br /><a href="javascript:function%20f(u)%20{%20if%20(u.indexOf(&#39;google.com/&#39;)%20&gt;%200)%20{%20u%20=%20u.replace(&#39;google.com&#39;,&#39;google.co.uk&#39;);%20}%20else%20{%20u%20=%20u.replace(&#39;google.co.uk&#39;,%20&#39;google.com&#39;);%20}%20window.location.href%20=%20u;%20};f(window.location.href);" rel="nofollow">Google Switch</a><br /><br />I changed it slightly to use the &#39;hl&#39; parameter, this works better imho to switch from the international version to the French version:<br /><a href="javascript:function%20f(u)%20{%20if%20(u.indexOf(&#39;hl=en&#39;)%20&gt;%200)%20{%20u%20=%20u.replace(&#39;hl=en&#39;,&#39;hl=fr&#39;);%20}%20else%20{%20u%20=%20u.replace(&#39;hl=fr&#39;,%20&#39;hl=en&#39;);%20}%20window.location.href%20=%20u;%20};f(window.location.href);" rel="nofollow">Google Switch</a></p>]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/5 queries in 0.001 seconds using disk: basic
Object Caching 271/272 objects using disk: basic

Served from: neilcowburn.com @ 2012-02-08 22:08:19 -->
