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
This event does not bubble.