Everything is Broken

Ubuntu Firefox’s Tattletale Search Query

Search SimplificationHave you ever noticed that when you type a search term into the search box in the top right of your Firefox browser, that a load of junk gets added to the search term. For example, you search for ‘banana’ and you get something like this:

http://www.google.com.ph/search?q=banana&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-US:unofficial&client=firefox-a

Well what you’re effectively doing is giving Google a lot of information for free. Which irritates me. All I really need is this,

http://www.google.com.ph/search?q=banana

and if they really want to know more about me, then they’re welcome to go digging through their logs.

OK its a minor irritation, but one that we can fix! I understand that Ubuntu does it as part of a deal with Google, but there’s no reason why we can’t take matters into our own hands and change the defaults.

So, the file you need to find is this one: /usr/lib/firefox-addons/searchplugins/google.xml, and you’ll need to open it in an editor as root.  So:

sudo gedit /usr/lib/firefox-addons/searchplugins/google.xml

If you use another search engine as your default, then choose a different file, of course. With this file open in an editor,  remove the offending lines. In the case above, its

  <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"/>

Save the file, restart Firefox, and we’re good to go.  Now the problem is that whenever you upgrade Firefox, the problem reappears, so you might want to make a copy of the correct file, and write a script to replace it every time you upgrade.  I always manage to forget where the file is, so I’m blogging this for my own benefit as much as anyone elses …

This entry was posted on Thursday, April 23rd, 2009 at 10:52 am and is filed under General IT, Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

« Counting files in subdirectories.
Printing Web pages the way you want ‘em »

Leave a Reply

CAPTCHA Image CAPTCHA Audio
Refresh Image
  • Recent Posts

    • ClamAV reporting Outdated version
    • Adventures in unbricking a router
    • One Line Guitar Tuner
    • Captcha Madness
    • Ubuntu upgrade 9.04 to 9.10
  • Sing for your supper

  • Static

    • About
    • Privacy Policy
  • Tags

    apathy apple calendar chkconfig collanos cross-platform eee evolution firmware google grub hotspot id card lightning Linux Mandriva notebook partitioning pclinuxos pclinuxos 2008 Philippines power management re-install sane scanner scheduleworld script Security slow sysv-rc-conf thinkpad thunderbird trust ubuntu ultraportable usb virtualisation vmware vpn wifi wireless workspace sharing xsane yahoo zombie
  • Blogroll

    • Datalude
    • Digital Life
    • Engage the World
  • Archives

    • May 2010
    • April 2010
    • March 2010
    • November 2009
    • October 2009
    • June 2009
    • May 2009
    • April 2009
    • February 2009
    • January 2009
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • April 2008
    • March 2008
    • February 2008

Everything is Broken runs on WordPress. Theme by Bob. All content Copyright © Datalude 2008+.