mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-17 23:08:33 +02:00
added favourite-colour to examples.json
This commit is contained in:
@@ -119,7 +119,8 @@
|
|||||||
"description": "Press Ctrl+Shift+Y to send an event (Command+Shift+Y on a Mac).",
|
"description": "Press Ctrl+Shift+Y to send an event (Command+Shift+Y on a Mac).",
|
||||||
"url": "https://github.com/mdn/webextensions-examples/tree/master/commands",
|
"url": "https://github.com/mdn/webextensions-examples/tree/master/commands",
|
||||||
"manifest_keys": [
|
"manifest_keys": [
|
||||||
"commands"
|
"commands",
|
||||||
|
"background"
|
||||||
],
|
],
|
||||||
"javascript_modules": [
|
"javascript_modules": [
|
||||||
{
|
{
|
||||||
@@ -131,6 +132,38 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "favourite-colour",
|
||||||
|
"description": "An example options ui",
|
||||||
|
"url": "https://github.com/mdn/webextensions-examples/tree/master/favourite-colour",
|
||||||
|
"manifest_keys": [
|
||||||
|
"permissions",
|
||||||
|
"browser_action",
|
||||||
|
"options_ui",
|
||||||
|
"background"
|
||||||
|
],
|
||||||
|
"javascript_modules": [
|
||||||
|
{
|
||||||
|
"name": "browserAction",
|
||||||
|
"apis": [
|
||||||
|
"onClicked"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "runtime",
|
||||||
|
"apis": [
|
||||||
|
"openOptionsPage"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "storage",
|
||||||
|
"apis": [
|
||||||
|
"storageArea/get",
|
||||||
|
"storageArea/set"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "inpage-toolbar-ui",
|
"name": "inpage-toolbar-ui",
|
||||||
"description": "Adds a browser action icon to the toolbar. Click the button to inject an in-page toolbar UI into the current webpage.",
|
"description": "Adds a browser action icon to the toolbar. Click the button to inject an in-page toolbar UI into the current webpage.",
|
||||||
|
|||||||
Reference in New Issue
Block a user