Path: blob/main/files/en-us/mozilla/add-ons/webextensions/api/browseraction/openpopup/index.md
6561 views
------{{AddonSidebar()}}
Open the browser action's popup.
You can only call this function from inside the handler for a user action.
Syntax
Parameters
None.
Return value
A Promise that is resolved with no arguments.
Browser compatibility
{{Compat}}
Examples
Open the popup when the user selects a context menu item:
{{WebExtExamples}}