SafariBeforeSearchEvent Class Reference
SafariBeforeSearchEvent event fires before the Smart Search Field performs a search, allowing you to intercept the query and execute an alternate task.
SafariBeforeSearchEvent can be used with
SafariBeforeNavigateEvent to determine what the user intends to do in the Smart Search Field.
Reading From the Toolbar
The query inputted by the user.
readonly attribute DOMString query;
- Available in Safari 6 and later.
© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-07-23)