diff --git a/source/manifest.json b/source/manifest.json index f55bb10..dc0efa1 100644 --- a/source/manifest.json +++ b/source/manifest.json @@ -2,6 +2,7 @@ "manifest_version": 2, "name": "Sample WebExtension", "version": "0.0.0", + "icons": { "16": "assets/icons/favicon-16.png", "32": "assets/icons/favicon-32.png", @@ -11,24 +12,31 @@ "description": "Sample description", "homepage_url": "https://github.com/abhijithvijayan/web-extension-starter", "short_name": "Sample Name", + "permissions": [ "activeTab", "storage", "http://*/*", "https://*/*" ], - "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'", + + "__dev__content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'", + "__prod__content_security_policy": "script-src 'self'; object-src 'self'", + "__chrome|firefox__author": "abhijithvijayan", "__opera__developer": { "name": "abhijithvijayan" }, + "__firefox__applications": { "gecko": { "id": "{754FB1AD-CC3B-4856-B6A0-7786F8CA9D17}" } }, + "__chrome__minimum_chrome_version": "49", "__opera__minimum_opera_version": "36", + "browser_action": { "default_popup": "popup.html", "default_icon": { @@ -41,18 +49,21 @@ "__chrome|opera__chrome_style": false, "__firefox__browser_style": false }, + "__chrome|opera__options_page": "options.html", "options_ui": { "page": "options.html", "open_in_tab": true, "__chrome__chrome_style": false }, + "background": { "scripts": [ "js/background.bundle.js" ], "__chrome|opera__persistent": false }, + "content_scripts": [{ "matches": [ "http://*/*",