SafariKeywordSearch icon
SafariKeywordSearch icon

SafariKeywordSearch

This is a simple but powerful feature that gives you access to several search engines using simple keywords. For example, you can search Wikipedia for information on monkeys by typing w monkeys in the address bar.

SafariKeywordSearch screenshot 1

Cost / License

  • Free
  • Open Source

Application type

Platforms

  • Mac
  • Safari
-
No reviews
1like
0comments
0news articles

Features

Suggest and vote on features
  1.  Keyword Research
  2.  Safari extension
  3.  Browser extension

 Tags

SafariKeywordSearch News & Activities

Highlights All activities

Recent activities

Show all activities

SafariKeywordSearch information

  • Developed by

    Arne Martin Aurlien
  • Licensing

    Open Source (MPL-2.0) and Free product.
  • Written in

  • Alternatives

    11 alternatives listed
  • Supported Languages

    • English

AlternativeTo Categories

Web BrowsersOnline ServicesEducation & Reference

GitHub repository

  •  131 Stars
  •  7 Forks
  •  14 Open Issues
  •   Updated  
View on GitHub
SafariKeywordSearch was added to AlternativeTo by Nicolas on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is SafariKeywordSearch?

This is a simple but powerful feature that gives you access to several search engines using simple keywords. For example, you can search Wikipedia for information on monkeys by typing w monkeys in the address bar.

The following searches are included in the default set: a: amazon.com d: duckduckgo.com down: downforeveryoneorjustme.com e: ebay.com g: google.com gm: maps.google.com imdb: imdb.com so: stackoverflow.com w: en.wikipedia.org wa: wolframalpha.com y: youtube.com You can also add your own searches in the app. The search keyword can be placed before (w monkeys) or after (monkeys w) the search string.

If you want to contribute a PR, feel free. Let me warn you, having zero prior experience with AppKit and macOS development, the source code is a lot like a garbage fire at a spaghetti factory.

Weird details/limitations etc

This is how the extension works: Listening for the beforeNavigate event Checking the URL to see if the domain matches one of the default search domains in Safari (Google, Bing, Yahoo, DuckDuckGo or Ecosia Extracting the search string from the URL Checking if the search string includes one of the keywords Quickly replacing the URL of the tab with the new search URL Parsing the URL to get the search string is not optimal, but it’s the only way with the current APIs. These edge cases/bugs can occur:

If you have more than one keyword the extension can trigger multiple times (i.e. if you enter ddg g w monkey) On rare occasions, the default search engine will load in the tab before the extension is triggered (I’ve only seen this a couple of times) The previous previous previous Safari Extension API had a beforeSearch event that was a lot more convenient. To any Safari developers who might be reading this: hello!

Official Links