Saturday, December 16, 2006

Being in the UK I got fed up with Firefox searching .com sites when using the little Search Engine tool up in the top right. I wanted to search eBay.co.uk not eBay.com

Firefox 2 search engine plug ins are mostly stored as .xlm files in a folder most possibly (by default?) called:

C:\Program Files\Mozilla Firefox\searchplugins

To bugger about with them open the .xlm in Wordpad (notepad doesn't seem to do)
and you will get something like this:


[SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/"]
[ShortName]Yahoo[/ShortName]< [Description]Yahoo Search[/Description] [InputEncoding]UTF-8[/InputEncoding] [Image width="16" height="16"]data:image/x-icon;base64,R0lGODlhEAAQAJECAP8AAAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIplI+py+0NogQuyBDEnEd2kHkfFWUamEzmpZSfmaIHPHrRguUm/fT+UwAAOw==[/Image]
[Url type="application/x-suggestions+json" method="GET"
template="http://ff.search.yahoo.com/gossip?output=fxjson&command={searchTerms}" /]
[Url type="text/html" method="GET" template="http://search.yahoo.com/search"]
[Param name="p" value="{searchTerms}"/]
[Param name="ei" value="UTF-8"/]
[MozParam name="fr" condition="pref" pref="yahoo-fr" /]
[/Url]
[SearchForm]http://search.yahoo.com/[/SearchForm]
[/SearchPlugin]


(I replaced all the greater than and lesser than brackets with square brackets when I posted it here, as I couldn't figure out any other way of stopping the code doing its stuff - or at least trying to. Don't try and cut and paste the code).


A bit of fiddling around and altering .com to .co.uk in the code gets the search engines to point wherever you want them. Spain .es, Germany .de, etc.

0 Comments:

Post a Comment

<< Home