Articles tagged: browserAction
Found 16 documents
- Mozilla/Add-ons/WebExtensions/API/browserAction If you specify a popup, it will be shown — and the content will be loaded — when the user clicks ...
- Mozilla/Add-ons/WebExtensions/API/browserAction/ColorArray An array of four integers in the range 0-255, defining an RGBA color. The four values specify ...
- Mozilla/Add-ons/WebExtensions/API/browserAction/disable Disables the browser action for a tab, meaning that it cannot be clicked when that tab is active.
- Mozilla/Add-ons/WebExtensions/API/browserAction/enable Enables the browser action for a tab. By default, browser actions are enabled for all tabs.
- Mozilla/Add-ons/WebExtensions/API/browserAction/getBadgeBackgroundColor Gets the background color of the browser action's badge.
- Mozilla/Add-ons/WebExtensions/API/browserAction/getBadgeText Gets the browser action's badge text.
- Mozilla/Add-ons/WebExtensions/API/browserAction/getPopup Gets the HTML document set as the popup for this browser action.
- Mozilla/Add-ons/WebExtensions/API/browserAction/getTitle Gets the browser action's title. Just as you can set the title on a per-tab basis using ...
- Mozilla/Add-ons/WebExtensions/API/browserAction/ImageDataType Pixel data for an image. Must be an ImageData object (for example, from a canvas element).
- Mozilla/Add-ons/WebExtensions/API/browserAction/onClicked Fired when a browser action icon is clicked. This event will not fire if the browser action has ...
- Mozilla/Add-ons/WebExtensions/API/browserAction/openPopup This API is also available as browser.browserAction.openPopup() in a version that returns a promise.
- Mozilla/Add-ons/WebExtensions/API/browserAction/setBadgeBackgroundColor Sets the background color for the badge.
- Mozilla/Add-ons/WebExtensions/API/browserAction/setBadgeText Sets the badge text for the browser action. The badge is displayed on top of the icon.
- Mozilla/Add-ons/WebExtensions/API/browserAction/setIcon Sets the icon for the browser action. The icon can be specified either as the path to an image ...
- Mozilla/Add-ons/WebExtensions/API/browserAction/setPopup Sets the HTML document that will be opened as a popup when the user clicks on the browser ...
- Mozilla/Add-ons/WebExtensions/API/browserAction/setTitle Sets the browser action's title. The title is displayed in a tooltip over the browser action's ...