Keyword Search Safari Extension

Last Revision:
Version 1.0, 2012-06-10
This extension demonstrates how to handle the "beforeSearch" event.
Build Requirements:
Safari 6.0 or later
Runtime Requirements:
Safari 6.0 or later

This extension handles the "beforeSearch" event to let a user search bugs.webkit.org, trac.webkit.org, and developer.apple.com via a shortcut. The shortcut is to type the first letter of the site to search, a space, then a search term. For example, if a user types "t FrameLoader" into the Safari smart search field and presses the return key, this extension will cancel the default search and instead navigate to the search results page for "FrameLoader" on trac.webkit.org.