SafariBeforeNavigateEvent Class Reference

Inherits from
Technology area
Safari Extensions
Availability
Available in Safari 5.1 and later.

Overview

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.

The event type for this class is beforeNavigate.

This event does not bubble.

Tasks

Getting Event Information

Properties

url

The URL that the user is navigating to.

readonly attribute DOMString url;
Availability