13

I know add-ons such as Glims can do this, but I would rather stay away from them. Any native (or more likely semi-native) way to do so? If it matters, the engine I would like to add is duckduckgo.

gentmatt
  • 48,122
  • 52
  • 193
  • 270
segiddins
  • 1,329
  • 2
  • 12
  • 30

6 Answers6

3

No, the only options are Google, Bing, and Yahoo.

If it is of any help, DuckDuckGo have their own extension on the Apple website for Safari extensions.

Alex
  • 1,432
  • 2
  • 22
  • 36
Graeme Hutchison
  • 6,674
  • 12
  • 44
  • 64
3

The Safari Extension anysearch allows you to change the search engine used by the Safari search bar/unibar, without any hack-ish stuff such as changing the hosts file.

segiddins
  • 1,329
  • 2
  • 12
  • 30
  • Here is a [direct link to AnySearch](https://safari-extensions.apple.com/details/?id=com.matt-swain.anysearch-6M853ET88Q). Despite being an extension, it "does not have permission to read or transmit content from any webpages" according to Safari. – Miles Wolbe Sep 08 '17 at 17:31
  • 1
    This was good, but Safari no longer supports search extensions: there is this message in that AnySearch link since Jan 2020: "DEPRECATED: Safari no longer supports extensions that modify the behaviour of the address bar. " – Martin Oct 07 '20 at 09:42
2

MacHints just did a post on this. The basic premise is that you redirect Yahoo! Search via the hosts file to the search engine of your choice. It works like a charm.

Tuesday
  • 14,908
  • 21
  • 72
  • 133
segiddins
  • 1,329
  • 2
  • 12
  • 30
0

For DuckDuck&Go, close Safari, and open the Terminal and enter:

defaults write com.apple.Safari SearchProviderIdentifier "com.duckduckgo"

MJ Walsh
  • 280
  • 1
  • 3
0

in your /etc/hosts file, add this line:

184.72.115.86 search.yahoo.com

then choose Yahoo as your default search.

nohillside
  • 92,308
  • 39
  • 198
  • 242
Sahil
  • 109
  • 2
-1

This works with Safari 5.1.10 on Mac OS 10.6.8

To get Safari to open with duckduckgo (or any other) as search engine with no add ons or hacking type >https://duckduckgo.com/< (without the ><) into the Safari Preferences "Homepage" then set "New windows open with" to "Homepage" and "New tabs open with" "Homepage". This keeps the 3 default search engines as they were, at the top. OR just make the search engine of your choice a bookmark in the Bookmark bar and just click it/them.

  • Yeah, but that doesn't actually add it as a search engine, just changes what page windows/tabs open with. – JMY1000 May 02 '16 at 19:06