Tuesday, October 17, 2006
Thursday, October 12, 2006
Localising Safaris Google Search
I may be slightly anal but seeing as Safari is my default browser of choice, it was becoming increasing irritating that the google search defaulted to the US of A's google search for all my searches from safaris built in form.
I hate installing any 3rd party guff into my browser as it always.... always ends up choking the browser somewhere along the line. So i wanted a simple solution.
I figured that the setting to boot the search off to google was tucked away in a plist somewhere but no, that would've been way too easy. So i tapped up my developer friend and he showed me the path to enlightenment.
This is what you do: QUIT SAFARI FIRST
1) download hexedit for os x http://sourceforge.net/projects/hexedit/
2) backup your safari build (copy paste the safari icon in the apps folder)
3) fire up hexedit and browse to Applications/Safari/Contents/MacOS/Safari
4) Choose find and replace from the hexedit edit menu
5) enter http://%@.google.com/%@?q=%@&ie=UTF-8&oe=UTF-8 into the find box
6) and http://%@.google.co.uk/%@?q=%@&ie=UTF-8&oe=UTF into the replace box. NB ensure this string is the same length as the one you're replacing. (obviously change this to whichever google localisation you need - im guessing you could change to any search engine too but why would you?)
7) fire at will
8) save the changes in hexedit file/save (duh)
9) relaunch safari - and you're done
Hope that helps some of you out. Many thanks to Marc Cance at Freeloader.com for the geekery.
Digg It!
I hate installing any 3rd party guff into my browser as it always.... always ends up choking the browser somewhere along the line. So i wanted a simple solution.
I figured that the setting to boot the search off to google was tucked away in a plist somewhere but no, that would've been way too easy. So i tapped up my developer friend and he showed me the path to enlightenment.
This is what you do: QUIT SAFARI FIRST
1) download hexedit for os x http://sourceforge.net/projects/hexedit/
2) backup your safari build (copy paste the safari icon in the apps folder)
3) fire up hexedit and browse to Applications/Safari/Contents/MacOS/Safari
4) Choose find and replace from the hexedit edit menu
5) enter http://%@.google.com/%@?q=%@&ie=UTF-8&oe=UTF-8 into the find box
6) and http://%@.google.co.uk/%@?q=%@&ie=UTF-8&oe=UTF into the replace box. NB ensure this string is the same length as the one you're replacing. (obviously change this to whichever google localisation you need - im guessing you could change to any search engine too but why would you?)
7) fire at will
8) save the changes in hexedit file/save (duh)
9) relaunch safari - and you're done
Hope that helps some of you out. Many thanks to Marc Cance at Freeloader.com for the geekery.
Digg It!

