Path: blob/main/files/en-us/mozilla/add-ons/webextensions/api/action/openpopup/index.md
6567 views
------{{AddonSidebar()}}
Open the browser action's popup.
Note: This API is available in Manifest V3 or higher.
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.
Examples
Open the popup when the user selects a context menu item:
{{WebExtExamples}}
Browser compatibility
{{Compat}}