From 587ecfc504dc4b84c4799559d9155198b04200ae Mon Sep 17 00:00:00 2001 From: wbamberg Date: Fri, 18 Nov 2016 14:14:25 -0800 Subject: [PATCH] Remove applications key wherever possible (#144) --- apply-css/manifest.json | 7 ------- beastify/manifest.json | 7 ------- bookmark-it/manifest.json | 7 ------- borderify/manifest.json | 7 ------- chill-out/manifest.json | 6 ------ commands/manifest.json | 7 +------ context-menu-demo/manifest.json | 7 ------- cookie-bg-picker/manifest.json | 7 ------- emoji-substitution/manifest.json | 6 ------ favourite-colour/manifest.json | 6 ------ history-deleter/manifest.json | 6 ------ latest-download/manifest.json | 7 ------- list-cookies/manifest.json | 6 ------ notify-link-clicks-i18n/manifest.json | 7 ------- open-my-page-button/manifest.json | 7 ------- page-to-extension-messaging/manifest.json | 7 ------- quicknote/manifest.json | 7 ------- selection-to-clipboard/manifest.json | 8 +------- tabs-tabs-tabs/manifest.json | 6 ------ user-agent-rewriter/manifest.json | 7 ------- 20 files changed, 2 insertions(+), 133 deletions(-) diff --git a/apply-css/manifest.json b/apply-css/manifest.json index 522016b..f200916 100644 --- a/apply-css/manifest.json +++ b/apply-css/manifest.json @@ -6,13 +6,6 @@ "version": "1.0", "homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/apply-css", - "applications": { - "gecko": { - "id": "apply-css@mozilla.org", - "strict_min_version": "49.0" - } - }, - "background": { "scripts": ["background.js"] }, diff --git a/beastify/manifest.json b/beastify/manifest.json index da4abc8..e8bf86b 100644 --- a/beastify/manifest.json +++ b/beastify/manifest.json @@ -9,13 +9,6 @@ "48": "icons/beasts-48.png" }, - "applications": { - "gecko": { - "id": "beastify@mozilla.org", - "strict_min_version": "45.0" - } - }, - "permissions": [ "activeTab" ], diff --git a/bookmark-it/manifest.json b/bookmark-it/manifest.json index 99a8eae..06c152c 100644 --- a/bookmark-it/manifest.json +++ b/bookmark-it/manifest.json @@ -9,13 +9,6 @@ "96": "icons/bookmark-it@2x.png" }, - "applications": { - "gecko": { - "id": "bookmark-it-extension@mozilla.org", - "strict_min_version": "47.0a1" - } - }, - "permissions": [ "bookmarks", "tabs" diff --git a/borderify/manifest.json b/borderify/manifest.json index c0b1714..0c44577 100644 --- a/borderify/manifest.json +++ b/borderify/manifest.json @@ -9,13 +9,6 @@ "48": "icons/border-48.png" }, - "applications": { - "gecko": { - "id": "borderify@mozilla.org", - "strict_min_version": "45.0" - } - }, - "content_scripts": [ { "matches": ["*://*.mozilla.org/*"], diff --git a/chill-out/manifest.json b/chill-out/manifest.json index 37bb6f1..13bc042 100644 --- a/chill-out/manifest.json +++ b/chill-out/manifest.json @@ -8,12 +8,6 @@ "48": "icons/chillout-48.png" }, - "applications": { - "gecko": { - "id": "chillout-page-action@mozilla.org" - } - }, - "permissions": [ "alarms", "tabs" diff --git a/commands/manifest.json b/commands/manifest.json index 0ecbb22..785b9f0 100644 --- a/commands/manifest.json +++ b/commands/manifest.json @@ -7,12 +7,7 @@ "background": { "scripts": ["background.js"] }, - "applications": { - "gecko": { - "id": "commands@mozilla.org", - "strict_min_version": "48.0a1" - } - }, + "commands": { "toggle-feature": { "suggested_key": { "default": "Ctrl+Shift+U" }, diff --git a/context-menu-demo/manifest.json b/context-menu-demo/manifest.json index aba22a3..6c16990 100644 --- a/context-menu-demo/manifest.json +++ b/context-menu-demo/manifest.json @@ -5,13 +5,6 @@ "version": "1.0", "default_locale": "en", - "applications": { - "gecko": { - "id": "context-menu-demo@mozilla.org", - "strict_min_version": "48.0" - } - }, - "background": { "scripts": ["background.js"] }, diff --git a/cookie-bg-picker/manifest.json b/cookie-bg-picker/manifest.json index 7a114ce..4e5c915 100644 --- a/cookie-bg-picker/manifest.json +++ b/cookie-bg-picker/manifest.json @@ -9,13 +9,6 @@ "48": "icons/bgpicker-48.png" }, - "applications": { - "gecko": { - "id": "quicknote@mozilla.org", - "strict_min_version": "45.0" - } - }, - "permissions": [ "tabs", "cookies", diff --git a/emoji-substitution/manifest.json b/emoji-substitution/manifest.json index c5dbeeb..e6f1067 100644 --- a/emoji-substitution/manifest.json +++ b/emoji-substitution/manifest.json @@ -1,11 +1,5 @@ { "manifest_version": 2, - "applications": { - "gecko": { - "strict_min_version": "49.0.1" - } - }, - "name": "Emoji Substitution", "description": "Replaces words with emojis.", "homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/emoji-substitution", diff --git a/favourite-colour/manifest.json b/favourite-colour/manifest.json index 0c6c1d4..e6bc69b 100644 --- a/favourite-colour/manifest.json +++ b/favourite-colour/manifest.json @@ -1,10 +1,4 @@ { - "applications": { - "gecko": { - "id": "some-options@mozilla.org", - "strict_min_version": "48.0a1" - } - }, "background": { "scripts": ["background.js"] }, diff --git a/history-deleter/manifest.json b/history-deleter/manifest.json index 11bb77b..de0d8b9 100644 --- a/history-deleter/manifest.json +++ b/history-deleter/manifest.json @@ -1,10 +1,4 @@ { - "applications": { - "gecko": { - "id": "history-deleter@mozilla.com", - "strict_min_version": "49.0a2" - } - }, "background": { "scripts": ["background.js"] }, diff --git a/latest-download/manifest.json b/latest-download/manifest.json index efe4e1f..e240f2e 100644 --- a/latest-download/manifest.json +++ b/latest-download/manifest.json @@ -9,13 +9,6 @@ "48": "icons/page-48.png" }, - "applications": { - "gecko": { - "id": "latest-download@mozilla.org", - "strict_min_version": "48.0a1" - } - }, - "permissions": [ "downloads", "downloads.open" diff --git a/list-cookies/manifest.json b/list-cookies/manifest.json index 2d122c9..9dbec54 100644 --- a/list-cookies/manifest.json +++ b/list-cookies/manifest.json @@ -1,10 +1,4 @@ { - "applications": { - "gecko": { - "id": "list-cookies@mozilla.org", - "strict_min_version": "47.0a1" - } - }, "browser_action": { "browser_style": true, "default_title": "List cookies in the active tab", diff --git a/notify-link-clicks-i18n/manifest.json b/notify-link-clicks-i18n/manifest.json index cf58156..6aa060f 100644 --- a/notify-link-clicks-i18n/manifest.json +++ b/notify-link-clicks-i18n/manifest.json @@ -9,13 +9,6 @@ "48": "icons/link-48.png" }, - "applications": { - "gecko": { - "id": "notify-link-clicks-i18n@mozilla.org", - "strict_min_version": "46.0a1" - } - }, - "permissions": ["notifications"], "background": { diff --git a/open-my-page-button/manifest.json b/open-my-page-button/manifest.json index febb8bd..9b30e51 100644 --- a/open-my-page-button/manifest.json +++ b/open-my-page-button/manifest.json @@ -9,13 +9,6 @@ "48": "icons/page-48.png" }, - "applications": { - "gecko": { - "id": "open-my-page-button@mozilla.org", - "strict_min_version": "45.0" - } - }, - "background": { "scripts": ["background.js"] }, diff --git a/page-to-extension-messaging/manifest.json b/page-to-extension-messaging/manifest.json index edea755..9f5fd64 100644 --- a/page-to-extension-messaging/manifest.json +++ b/page-to-extension-messaging/manifest.json @@ -9,13 +9,6 @@ "48": "icons/message-48.png" }, - "applications": { - "gecko": { - "id": "page-to-extension-messaging@mozilla.org", - "strict_min_version": "45.0" - } - }, - "content_scripts": [ { "matches": ["https://mdn.github.io/webextensions-examples/content-script-page-script-messaging.html"], diff --git a/quicknote/manifest.json b/quicknote/manifest.json index 599ec05..6134678 100644 --- a/quicknote/manifest.json +++ b/quicknote/manifest.json @@ -9,13 +9,6 @@ "48": "icons/quicknote-48.png" }, - "applications": { - "gecko": { - "id": "quicknote@mozilla.org", - "strict_min_version": "45.0" - } - }, - "permissions": [ "storage" ], diff --git a/selection-to-clipboard/manifest.json b/selection-to-clipboard/manifest.json index b6a4822..39f8b35 100644 --- a/selection-to-clipboard/manifest.json +++ b/selection-to-clipboard/manifest.json @@ -9,14 +9,8 @@ "48": "icons/clipboard-48.png" }, - "applications": { - "gecko": { - "strict_min_version": "51.0a1" - } - }, - "content_scripts": [{ "matches": [""], "js": ["content-script.js"] }] -} \ No newline at end of file +} diff --git a/tabs-tabs-tabs/manifest.json b/tabs-tabs-tabs/manifest.json index 93039b0..76663af 100644 --- a/tabs-tabs-tabs/manifest.json +++ b/tabs-tabs-tabs/manifest.json @@ -1,10 +1,4 @@ { - "applications": { - "gecko": { - "id": "tabs-tabs-tabs@mozilla.org", - "strict_min_version": "47.0a1" - } - }, "browser_action": { "browser_style": true, "default_title": "Tabs, tabs, tabs", diff --git a/user-agent-rewriter/manifest.json b/user-agent-rewriter/manifest.json index 698ea1e..b0cd035 100644 --- a/user-agent-rewriter/manifest.json +++ b/user-agent-rewriter/manifest.json @@ -9,13 +9,6 @@ "48": "icons/person-48.png" }, - "applications": { - "gecko": { - "id": "user-agent-rewriter@mozilla.org", - "strict_min_version": "45.0" - } - }, - "permissions": [ "webRequest", "webRequestBlocking", "http://useragentstring.com/*" ],