From 2a5c590c4e214a97314428871291728bf772d49b Mon Sep 17 00:00:00 2001 From: Will Bamberg Date: Tue, 31 May 2016 10:57:22 -0700 Subject: [PATCH] Updated examples.json with context-menu-demo --- examples.json | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/examples.json b/examples.json index f564686..0ba3577 100644 --- a/examples.json +++ b/examples.json @@ -132,6 +132,44 @@ } ] }, + { + "name": "context-menu-demo", + "description": "Demonstrates various features of the contextMenus API.", + "url": "https://github.com/mdn/webextensions-examples/tree/master/context-menu-demo", + "manifest_keys": [ + "permissions", + "background" + ], + "javascript_modules": [ + { + "name": "contextMenus", + "apis": [ + "create", + "onClicked", + "update", + "remove" + ] + }, + { + "name": "i18n", + "apis": [ + "getMessage" + ] + }, + { + "name": "runtime", + "apis": [ + "lastError" + ] + }, + { + "name": "tabs", + "apis": [ + "executeScript" + ] + } + ] + }, { "name": "favourite-colour", "description": "An example options ui",