Technology area | Safari Extensions |
Availability | Available in Safari 5.0 and later. |
The SafariNamespace
class is a namespace that provides access to the Safari Extensions functionality outside of the web content area.
The corresponding class, SafariContentNamespace
, is used from inside a web content area.
The Safari application.
readonly attribute SafariApplication application
The current Safari extension.
readonly attribute SafariExtension extension
The SafariExtensionGlobalPage
or SafariExtensionBar
object that owns the DOM window that this instance of the SafariNamespace
class was accessed from.
readonly attribute any self
For example, the following is always true:
window.safari.self.contentWindow === window; |
Last updated: 2010-06-30