Tweak Google Search in Firefox – NZ edition!
30 January, 2009 4 Comments
Here’s three tweaks to Firefox for the search box – a couple for everyone and one for kiwis or anyone else wanting to use the regional New Zealand site, google.co.nz.
Open results in a new tab
This is one of the first changes I make to every Firefox install. By default, if you search from Firefox’s search box near the top right of the browser the results open in the current tab – potentially killing something you might have been working on. To have results always open in a new tab enter “about:config” in the address bar and hit return. Read and acknowledge the warning and then enter “browser.search.openintab” in the filter box. Double click this entry to toggle the value to “true”.
Now search safe in the knowledge you won’t lose your current tab.
Update the search box icon for Google
The blog Mozilla Links has a nice little post detailing how to update the search box to use the new Google favicon. It involves downloading and replacing a small file in your Firefox install directory.
Awww, isn’t it pretty!
Change the search box to use Google.co.nz
If you use google.co.nz for your internet searches, you will probably have noticed the option below the search box to search “the web” or “pages from New Zealand”.
By default the search box in Firefox uses google.com so those search options are not available on the results page. To change this you’ll need to make a small change to the file that got replaced in the above tweak – google.xml, which for Windows users normally lives at,
C:\Program Files\Mozilla Firefox\searchplugins\google.xml
Open that file in a text editor (like Notepad) and look for the line that contains,
<Url type="text/html" method="GET" template="http://www.google.com/search">
Change the template address to “http://www.google.co.nz/search” and save the file. Now (re)start Firefox and you’re done. Search results will come from “the web” by default, but using the NZ regional site google.co.nz thus allowing you to re-search pages from New Zealand easily.