extension.getBackgroundPage()

Alias for runtime.getBackgroundPage().

Syntax

browser.extension.getBackgroundPage(
)

Parameters

None.

Return value

object. Window of the background page.

Browser compatibility

EdgeFirefoxChromeOpera
Basic support?45.0Yes33
Firefox
Basic support48.0

Examples

Example add-ons

Acknowledgements

This API is based on Chromium's chrome.extension API. This documentation is derived from extension.json in the Chromium code.

Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,