Instances of the
Safari class serve as proxy objects, allowing scripts injected in the web content to communicate with
Safari objects and the rest of the extension.
- Safari Desktop 5.0+
- Safari Extensions JS
The counterpart class,
Safari, is used to pass messages from outside the web content to the scripts injected into it.