Safari Developer Library

Developer

SafariBeforeNavigateEvent Class Reference

Options
Deployment Target:

On This Page

SafariBeforeNavigateEvent

Instances of the SafariBeforeNavigateEvent class are used to notify listeners when the user navigates to a new page, before the page is loaded. You can use the preventDefault method to prevent the new page from loading. More...

Inheritance


Conforms To


Not Applicable

Import Statement


Not Applicable Not Applicable

Availability


Available in Safari 5.1 and later.
  • url Property

    The URL that the user is navigating to.

    Declaration

    JavaScript

    readonly attribute DOMString url

    Availability

    Available in Safari 5.1 and later.