Class

SafariAppExtension

The SafariAppExtension class is used by a content script to represent your extension; an instance of the class is accessible as safari.extension.

Declaration

interface SafariAppExtension

Topics

Determining the URI

baseURI

The URI that corresponds to the Resources directory of your app extension.

Sending Messages

dispatchMessage

Dispatches a message to your app extension.

setContextMenuEventUserInfo

Sets the user info to the appropriate context information.