HandyAndE [Andrew Williams]
© Andrew Williams, 2006 - 2007

Andy's Blog

Using SearchMash instead of Google in Safari on OSX - Andrew Williams (Mon, 03 Mar 2008 23:13:04 +0000)

OK, so having played around with SearchMash for a while I decided to set it as my search engine for Safari.

Not an easy task indeed, but here is the answer, just follow the following simple steps:

  • open a Terminal
  • run "vim /Applications/Safari.app/Contents/MacOS/Safari" (without the quotes)
  • hit the ":" key to enter command mode
  • paste in "%s/http:\/\/%@.google.com\/%@?q=%@&ie=UTF-8&oe=UTF-8/http:\/\/%@%@@searchmash.com\/search\/%@?ua=safari/" (again without the quotes) and hit enter
  • save and quit by typing ":wq"
  • restart safari

Enjoy! of course, I cannot guarantee you will not run into any problems - do the above at your own risk - but it worked for me :)