Safari object is an app extension for your macOS app that receives and responds to secure messages from your Safari extension. Sending a message to a Safari extension companion is similar to sending a message to an injected script; simply call the
dispatch method on the extension companion object. See Communicating with your OS X App for more information on extension companions.
- Safari Desktop 9.0+
- Safari Extensions JS