Safari Developer Library

Developer

SafariContentNamespace Class Reference

Options
Deployment Target:

On This Page

SafariContentNamespace

Inheritance


  • SafariContentNamespace

Conforms To


Not Applicable

Import Statement


Not Applicable Not Applicable

Availability


Available in Safari 5.0 and later.

The SafariContentNamespace class is a namespace that provides access to the Safari Extensions functionality inside of a web content area.

The corresponding class, SafariNamespace, is used outside of web content areas.

  • self Property

    The associated page object.

    Declaration

    JavaScript

    readonly attribute SafariContentWebPage self

    Availability

    Available in Safari 5.0 and later.

  • extension Property

    The current Safari extension.

    Declaration

    JavaScript

    readonly attribute SafariContentExtension extension

    Availability

    Available in Safari 5.0 and later.