Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

browserAction.openPopup()

This is a non-public method implemented by Google Chrome, for use only by internal add-ons. It is not implemented by other browsers or for ordinary developers targeting Google Chrome.

Syntax

chrome.browserAction.openPopup(
  function(popupView) {...} // function
)

This API is also available as browser.browserAction.openPopup() in a version that returns a promise.

Parameters

callback
function. The function is passed the following arguments:
popupViewOptional
object. JavaScript 'window' object for the popup window if it was succesfully opened.

Additional objects

Browser compatibility

Examples

Acknowledgements

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

Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.

Document Tags and Contributors

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