Gl.ib.ly

(glibly); Just another techie blog.

Setting Google search language in Firefox 3.5 on the Mac

Posted by Tariq • Wednesday, July 29. 2009 • Category: Tidbits
While traveling around the place I have been highly annoyed at the Firefox search box's default behavior for Google search. While in the Middle East it shows me RTL pages in Arabic. Well you can easily fix this on the Mac!

Just open the file /Applications/Firefox.app/Contents/MacOS/searchplugins/google.xml in an editor. I normally use vim, so: vim /Applications/Firefox.app/Contents/MacOS/searchplugins/google.xml or you could let your OS decide open /Applications/Firefox.app/Contents/MacOS/searchplugins/google.xml at the terminal.

You should see something like:

...
<Url type="text/html" method="GET" template="http://www.google.com/search">
  <Param name="q" value="{searchTerms}"/>
  <Param name="ie" value="utf-8"/>
  <Param name="oe" value="utf-8"/>
  <Param name="aq" value="t"/>
  <!-- Dynamic parameters -->
  <Param name="rls" value="{moz:distributionID}:{moz:locale}:{moz:official}"/>
  <MozParam name="client" condition="defaultEngine" trueValue="firefox-a" falseValue="firefox"/>
</Url>
...


We change this to:

...
<Url type="text/html" method="GET" template="http://www.google.com/search">
  <Param name="q" value="{searchTerms}"/>
  <Param name="ie" value="utf-8"/>
  <Param name="oe" value="utf-8"/>
  <Param name="aq" value="t"/>
  <!-- Stop Google from thinking we read anything but English -->
  <Param name="hl" value="en"/>
  <!-- Dynamic parameters -->
  <Param name="rls" value="{moz:distributionID}:{moz:locale}:{moz:official}"/>
  <MozParam name="client" condition="defaultEngine" trueValue="firefox-a" falseValue="firefox"/>
</Url>
...


You can change this to any language (just change hl's value) or even country specific languages, like en_GB. When you finish editing save the file and restart Firefox (⌘Q). When using the search box you should now only see results in English.
Defined tags for this entry: , , , , , , ,

Forwarding multiple mails in Google Mail

Posted by Tariq • Thursday, July 16. 2009 • Category: Tidbits
One gripe I have had for years is the inability in Google mail to forward more than one message at a time. I am not sure why it hasn't been implemented after all these years; scared of extra traffic, spam? Anyhows, this rant brings me to some new functionality Tasks. Now I could rant on about this a bit because IMHO it sucks ass right now, but hey, a move in the right direction. If it works well in six months I'd be happy.

But I'd be mucho mucho happier with the ability to forward multiple mails.

P.s. Anyone else notice the ultra crap quality of attached images when you click 'view' instead of 'download' lately?

P.s.s. This all doesn't negate the fact that Google Mail, overall, is awesome.
Defined tags for this entry: , , , , ,

Downsides of using Tor

Posted by Tariq • Thursday, February 26. 2009 • Category: Tidbits
Shows Google being used over the Tor network, but Google thinks I no speaky the English.
Shows Google being used over the Tor network, but Google thinks I no speaky the English.

A small inconvenience I am sure! Well that and speed, which is horrendous.

Some interesting links: Nice overview of Onion and Garlic routing, Low-Cost Traffic Analysis of Tor, Low-Resource Routing Attacks Against Anonymous Systems, Shining Light in Dark Places:
Understanding the Tor Network
(are the authors in jail for wire tapping?) and Tor hack proposed to catch criminals (or anyone, don't expect all the kids to play fair). For some background check out Privacy on the Line: The Politics of Wiretapping and Encryption.

Edit: The researchers did not go to jail.
Defined tags for this entry: , , , , ,

My experiences with Google Chrome

Posted by Tariq • Thursday, January 8. 2009 • Category: Computers
On September 1, 2008 Google announced a A fresh take on the browser. I greeted this news enthusiasticly; some people believed that google was mobilizing to crush Microsoft in an all out internet browser war. At the same time Firefox crackpots (I am nearly one :op) riled at how inferior Google Chrome was or still *is* -- what no browser extensions? I decided to hold back on what I thought and give it a fair chance.

Continue reading "My experiences with Google Chrome"

Defined tags for this entry: , , , , , ,