True for content scripts running inside incognito tabs, and for extension
pages running inside an incognito process. The latter only applies to
extensions with 'split' incognito_behavior.
Returns the JavaScript 'window' object for the background page running
inside the current extension. Returns null if the extension has no
background page.
Returns an array of the JavaScript 'window' objects for each of the tabs
running inside the current extension. If windowId is specified, returns
only the 'window' objects of tabs attached to the specified window.
returns Array of global window objects
Converts a relative path within an extension install directory to a
fully-qualified URL.
path A path to a resource within an extension expressed relative to
its install directory.
returns The fully-qualified URL to the resource.
Retrieves the state of the extension's access to the 'file://' scheme.
This corresponds to the user-controlled per-extension 'Allow access to
File URLs' setting accessible via the chrome://extensions page.
Retrieves the state of the extension's access to Incognito-mode. This
corresponds to the user-controlled per-extension 'Allowed in Incognito'
setting accessible via the chrome://extensions page.
Sends a single request to other listeners within the extension. Similar to
runtime.connect, but only sends a single request with an optional
response. The extension.onRequest event is fired in each page of the
extension.
extensionId The extension ID of the extension you want to connect to.
If omitted, default is your own extension.
Sets the value of the ap CGI parameter used in the extension's update URL.
This value is ignored for extensions that are hosted in the Chrome
Extension Gallery.