Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Using an alternative search engine in Safari Web Browsers
Ever want to change your default search engine to something other than Google, Bing or Yahoo?

I've been very frustrated with the limited search options available in Safari. In addition, I am very concerned about how much information about me leaks out to Google especially now that they are tying in google plus information and the fact that most sites I go to seems to use Google analytics.

I've recently switch over to using DuckDuckGo which has a much more user friendly privacy policy. They provide detailed instructions here on how to set up your browser to use them so I won't repeat them.

I personally edited my /etc/hosts file pointing search.yahoo.com to 184.72.115.86 then selected Yahoo! from the search box drop-down menu. I really love the advanced features and seamless integration this provides. In addition Google or Bing are still available if I want. (I'm not affiliated with the site in any way, just a happy user.) Note that this will disable Yahoo! search, so if you use that you could replace one of the other sites instead.

[crarko adds: You should be able to switch to any search site you like using this method. Just replace the IP address mapping from the hint in your /etc/hosts with the address of the site you want to substitute. Be prepared for the possibility of doing some revamping after June 6th, 2012, when the IPv6 rollout begins in earnest.

Also bear in mind that editing hosts will affect all applications, not just Safari.]
    •    
  • Currently 2.63 / 5
  You rated: 2 / 5 (8 votes cast)
 
[19,977 views]  

Using an alternative search engine in Safari | 9 comments | Create New Account
Click here to return to the 'Using an alternative search engine in Safari' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Using an alternative search engine in Safari
Authored by: arcticmac on Jan 19, '12 07:59:16AM

I'm curious that they recommend remapping the hostname so that you actually just can't access yahoo (incidentally, that should break SSL for their website if you access it via the yahoo address) instead of, say, editing ~/Library/Safari/Configurations.plist.signed. (Not that I've tried editing that file; it's just that it very clearly defines the search engines that are already in use, and you could perhaps add another or else change the URL that it uses for one of the built-ins).



[ Reply to This | # ]
Using an alternative search engine in Safari
Authored by: RedFred on Jan 19, '12 03:46:08PM

I tried editing Configurations.plist.signed and it did nothing. I don't think it gets loaded if the signature doesn't validate. By the way, all of the urls in Configurations.plist.signed are http: not https: so ssl certificates don't come in to play.

I choose this method rather than a toolbar extension because I didn't want to lose 20 pixels of vertical content space. To each his own.



[ Reply to This | # ]
Using an alternative search engine in Safari
Authored by: Plato on Jan 19, '12 10:26:40AM
Ingenious (though as mentioned, it affects all uses of the domain name). I recommend Omnibar, which lets you add any sites, and gets rid of the search field in the toolbar too.

[ Reply to This | # ]
Using an alternative search engine in Safari
Authored by: kbradnam on Jan 19, '12 03:14:07PM

An alternative way to integrate Duck Duck Go with Safari is to use 'Safari Omnibar'

http://hackemist.com/SafariOmnibar/

This gives you a Chrome-like single bar to both type addresses, and search for items. It is easy to add Duck Duck Go as the default search provider by adding the following URL in the Omnibar preferences and setting this to the default:

https://duckduckgo.com/?q={searchTerms}&ie=UTF-8&oe=UTF-8


Note that even when you do this, it is still trivial to do a Google search (or use another search engine), just type 'g' in the search bar and then a search term.



[ Reply to This | # ]
Using an alternative search engine in Safari
Authored by: StrawHousePig on Jan 19, '12 04:56:48PM
I just use several bookmarklets with my main search sitting as the first bookmark in the bookmarks bar, accessible quickly with Command-1.
javascript:if(getSelection()!='')%7Bq=getSelection();%7Delse%7Bvoid(q=prompt('Enter%20search%20term%20(Blekko)',''))%7D;if(q)%7Bwindow.open('http://blekko.com/ws/'+escape(q));%7D
This will search for selected text if any or pop-up a dialog that you can enter a string into.
Edited on Jan 19, '12 04:57:53PM by StrawHousePig


[ Reply to This | # ]
Using an alternative search engine in Safari
Authored by: DocC on Jan 19, '12 06:22:57PM

Seems like a lot of work when you can just install Glims and get a whole raft of alternative search engines to choose from (and easily switch between).



[ Reply to This | # ]
Using an alternative search engine in Safari
Authored by: BiL Castine on Jan 19, '12 10:42:32PM
I've been using the Quix bookmarklet for some time now, and it's trivial to add a new search engine using their very simple instructions. i have the bookmarklet as the first non-folder in my bookmarks bar, so a simple Command+1 invokes a javascript search box.

[ Reply to This | # ]
Using an alternative search engine in Safari
Authored by: auco on Jan 20, '12 12:37:05AM

just install Glims and you finally can surf yahoo pages again:
http://www.machangout.com/

it's maintained well and there are frequent updates. I almost never had a problem with it. You can setup as many custom search engines as you like.



[ Reply to This | # ]
Using an alternative search engine in Safari
Authored by: auco on Jan 20, '12 12:42:08AM

...and maybe should also rather use http://ixquick.com than duckduckgo; I just tested a not so common search string and found one useless result on duckduckgo, whereas Google and iXquick turn up with hundreds of results.

iXquick has a very strong privacy policy.



[ Reply to This | # ]