pageAction.setTitle()

Sets the title of the page action. This is displayed in a tooltip over the page action.

Syntax

browser.pageAction.setTitle(
  details // object
)

Parameters

details
object.
tabId
integer. The ID of the tab whose title you want to set.
title
string. The tooltip text.

Browser compatibility

EdgeFirefoxChromeOpera
Basic support?45.0Yes33
Firefox
Basic supportNo

Examples

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,