mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
Link to what a page action is
This commit is contained in:
@@ -7,7 +7,8 @@ This extension includes:
|
||||
* a background script, "background.js"
|
||||
* a page action
|
||||
|
||||
It adds the page action to every tab the user opens. Clicking the page action
|
||||
It adds the [page action](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/pageAction)
|
||||
to every tab the user opens. Clicking the page action
|
||||
for a tab applies some CSS using [tabs.insertCSS](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/tabs/insertCSS).
|
||||
|
||||
Clicking again removes the CSS using [tabs.removeCSS](https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/tabs/removeCSS).
|
||||
|
||||
Reference in New Issue
Block a user