SafariContentExtension Class Reference

Technology area
Safari Extensions
Availability
Available in Safari 5.0 and later.

Overview

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.

Tasks

Getting the Base URI

Properties

baseURI

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

readonly attribute DOMString baseURI
Availability