mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
Adding listing/descriptions for the imagify and themes examples. (#253)
There are a couple of queries about the item for themes: * I was unclear whether to delete the javascript_apis key or use an empty list - I've used an empty list. * The macros suggests it would be safe to use HTML formatting in the description, so I have done so to create the list of themes (rather than split them out individually)
This commit is contained in:
@@ -223,6 +223,16 @@
|
||||
"name": "history-deleter",
|
||||
"description": "History API demo: deletes history items for a given domain"
|
||||
},
|
||||
{
|
||||
"javascript_apis": [
|
||||
"runtime.onMessage",
|
||||
"tabs.executeScript",
|
||||
"tabs.query",
|
||||
"tabs.sendMessage"
|
||||
],
|
||||
"name": "imagify",
|
||||
"description": "Using a sidebar, illustrates the use of file picker and drag and drop. A content script replaces the current page content with the chosen image."
|
||||
},
|
||||
{
|
||||
"javascript_apis": [
|
||||
"downloads.erase",
|
||||
@@ -366,6 +376,12 @@
|
||||
"name": "theme-switcher",
|
||||
"description": "An example of how to use the management API for themes."
|
||||
},
|
||||
{
|
||||
"javascript_apis": [
|
||||
],
|
||||
"name": "themes",
|
||||
"description": "A collection of themes illustrating:<ul><li>weta_fade: a basic theme employing a single image specified in <code>headerURL:</code>.</li><li>weta_fade_chrome: the weta_fade theme implemented with Chrome compatible manifest keys.</li><li>weta_tiled: a theme using a tiled image.</li><li>weta_mirror: a theme using multiple images and aligning those images in the header.</li><li>animated: use of an animated PNG.</li></ul>"
|
||||
},
|
||||
{
|
||||
"javascript_apis": [
|
||||
"topSites.get"
|
||||
|
||||
Reference in New Issue
Block a user