SafariBeforeSearchEvent Class Reference
| Inherits from |
Overview
The 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.
Properties
query
The query inputted by the user.
readonly attribute DOMString query;
Availability
- Available in Safari 6 and later.
© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-07-23)