SafariContentExtension Class Reference
Available in Safari 5.0 and later.
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
Getting the Base URI
The URI that corresponds to the root of the extension’s bundle.
readonly attribute DOMString baseURI
- Available in Safari 5.0 and later.