added favourite-colour to examples.json

This commit is contained in:
Will Bamberg
2016-04-19 20:54:48 -07:00
parent 1421a741bb
commit f8df8c1b4a

View File

@@ -119,7 +119,8 @@
"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",
"manifest_keys": [
"commands"
"commands",
"background"
],
"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",
"description": "Adds a browser action icon to the toolbar. Click the button to inject an in-page toolbar UI into the current webpage.",