Safari Developer Library

Developer

SafariContentExtension Class Reference

Options
Deployment Target:

On This Page

SafariContentExtension

The SafariContentExtension class represents your extension to scripts running inside the web content; an instance of the class is accessible as safari.extension. Its counterpart class outside of the web content is SafariExtension.

  • baseURI Property

    The URI that corresponds to the root of the extension’s bundle.

    Declaration

    readonly attribute DOMString baseURI