Safari Keyword Search is a simple extension for Safari on macOS that enables keyword searching from the address bar. 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:
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.
This is how the extension works:
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:
ddg g w monkey)
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!