pageAction.show()

Shows the page action for a given tab. The page action is shown whenever the given tab is the active tab.

Syntax

browser.pageAction.show(
  tabId // integer
)

Parameters

tabId
integer. The ID of the tab for which you want to show the page action.

Browser compatibility

EdgeFirefoxChromeOpera
Basic support?45.0Yes33
Firefox
Basic supportNo

Examples

Example add-ons

Acknowledgements

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

Document Tags and Contributors

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