SafariWebPageProxy Class Reference

Technology area
Safari Extensions
Availability
Available in Safari 5.0 and later.

Overview

Instances of the SafariWebPageProxy class serve as a proxy objects, allowing objects outside of the web content to communicate with the SafariContentWebPage object.

The counterpart class, SafariContentBrowserTabProxy, is used to pass messages from the web content to objects outside of the web content.

Tasks

Dispatching Messages

Methods

dispatchMessage

Dispatches a message to the web content area.

void dispatchMessage (in DOMString name, in any message);
Parameters
name

The name of the message.

message

The body of the message. Optional.

Availability
  • Available in Safari 5.0 and later.