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.

Tasks

Reading From the Toolbar

Properties

query

The query inputted by the user.

readonly attribute DOMString query;