[webkit-dev] SearchBox API
darin at apple.com
Sun Mar 20 15:26:05 PDT 2011
On Mar 19, 2011, at 10:10 AM, Adam Barth wrote:
> Sorry to resurrect this old thread, but what are the DOM APIs in Safari that are accessible only to search providers?
Two functions on the window object, getSearchEngine and setSearchEngine. They take and return strings that are the names of supported search engines. The designs are a bit primitive in part because this is an old API that dates back to the first iPhone.
More information about the webkit-dev