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 not

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=""]
[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="{searchTerms}" /]
[Url type="text/html" method="GET" template=""]
[Param name="p" value="{searchTerms}"/]
[Param name="ei" value="UTF-8"/]
[MozParam name="fr" condition="pref" pref="yahoo-fr" /]

(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 in the code gets the search engines to point wherever you want them. Spain .es, Germany .de, etc.