Safari Developer Library

Developer

SafariExtensionGlobalPage Class Reference

Options
Deployment Target:

On This Page

SafariExtensionGlobalPage

Safari extensions have a global page, represented by the SafariExtensionGlobalPage class. The global page is loaded once when the extension is loaded, but it is never displayed to the user. It can contain resources such as scripts, images, and HTML content. More...

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable Not Applicable

Availability


Available in Safari 5.0 and later.
  • contentWindow Property

    The DOM window object of the extension’s global page.

    Declaration

    JavaScript

    readonly attribute DOMWindow contentWindow

    Availability

    Available in Safari 5.0 and later.