From 65b0b515ed7d4ed8c2f1c30769c0051c2d083c64 Mon Sep 17 00:00:00 2001 From: Anirudh Varma Date: Sat, 8 Aug 2020 17:59:21 +0530 Subject: [PATCH] Add extension id to make storage API work on Firefox in dev. See - https://bugzilla.mozilla.org/show_bug.cgi?id=1323228 https://extensionworkshop.com/documentation/develop/extensions-and-the-add-on-id/ --- manifest.json | 57 +++++++++++++++++++++++++++------------------------ 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/manifest.json b/manifest.json index 235ed1e..05b7034 100644 --- a/manifest.json +++ b/manifest.json @@ -1,28 +1,31 @@ { - "name": "Better", - "version": "0.0.1", - "icons": { - "48": "images/48.png", - "128": "images/128.png" - }, - "description": "Find better products & services than the one you're currently visiting", - "permissions": ["activeTab", "storage"], - "background": { - "scripts": ["background.js"], - "persistent": false - }, - "content_scripts": [ - { - "matches": ["https://*/*", "http://*/*"], - "js": ["contentscript.js"] - } - ], - "manifest_version": 2, - "options_ui": { - "page": "options.html", - "open_in_tab": false - }, - "web_accessible_resources": [ - "defaultlist.json" - ] - } \ No newline at end of file + "name": "Better", + "version": "0.0.1", + "icons": { + "48": "images/48.png", + "128": "images/128.png" + }, + "browser_specific_settings": { + "gecko": { + "id": "{02d8a7bd-79ba-4808-8e11-f3e19af43f90}" + } + }, + "description": "Find better products & services than the one you're currently visiting", + "permissions": ["activeTab", "storage"], + "background": { + "scripts": ["background.js"], + "persistent": false + }, + "content_scripts": [ + { + "matches": ["https://*/*", "http://*/*"], + "js": ["contentscript.js"] + } + ], + "manifest_version": 2, + "options_ui": { + "page": "options.html", + "open_in_tab": false + }, + "web_accessible_resources": ["defaultlist.json"] +}