chrome.extension library

The chrome.extension API has utilities that can be used by any extension page. It includes support for exchanging messages between an extension and its content scripts or between extensions, as described in detail in Message Passing.

Classes

ChromeExtension
ExtensionGetViewsParams
LastErrorExtension
OnRequestEvent
Fired when a request is sent from either an extension process or a content script.
OnRequestExternalEvent
Fired when a request is sent from another extension.
ViewType
The type of extension view.

Properties

extension ChromeExtension
Accessor for the chrome.extension namespace.
final