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.

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable Not Applicable

Availability


Available in Safari 5.0 and later.
  • baseURI Property

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

    Declaration

    JavaScript

    readonly attribute DOMString baseURI

    Availability

    Available in Safari 5.0 and later.