mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-21 00:32:48 +02:00
Remove 'documentUrlPatterns', as it's not supported by Firefox
This commit is contained in:
@@ -9,15 +9,12 @@ This add-on adds several items to the browser's context menu:
|
||||
* one shown when there is a selection in the page, that logs the selected text
|
||||
when clicked.
|
||||
* one shown in all contexts, that is removed when clicked.
|
||||
* two "radio" items that are shown when a page under "developer.mozilla.org"
|
||||
is loaded. These items are grouped using a separator item on each side.
|
||||
* two "radio" items that are shown in all contexts.
|
||||
These items are grouped using a separator item on each side.
|
||||
One radio item adds a blue border to the page, the other adds a green border.
|
||||
* one "checkbox" item, shown in all contexts, whose title is updated when the
|
||||
item is clicked.
|
||||
|
||||
Note that the "documentUrlPatterns" option is not
|
||||
currently supported in Firefox.
|
||||
|
||||
## What it shows
|
||||
|
||||
* How to create various types of context menu item:
|
||||
|
||||
Reference in New Issue
Block a user