From 95393fde0894632e498201466046caace93de429 Mon Sep 17 00:00:00 2001 From: wanhose Date: Thu, 8 Apr 2021 23:53:26 +0200 Subject: [PATCH] chore(manifest): add background script, remove default icon and popup and upgrade version --- src/manifest.json => manifest.json | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) rename src/manifest.json => manifest.json (55%) diff --git a/src/manifest.json b/manifest.json similarity index 55% rename from src/manifest.json rename to manifest.json index 5c33dfd..32af4c5 100644 --- a/src/manifest.json +++ b/manifest.json @@ -1,27 +1,36 @@ { "manifest_version": 2, "name": "Do Not Consent", - "version": "3.2.4", + "version": "3.3.0", "default_locale": "en", "description": "__MSG_appDesc__", "icons": { "16": "assets/icon16.png", + "32": "assets/icon32.png", "48": "assets/icon48.png", "128": "assets/icon128.png" }, "browser_action": { - "default_icon": "assets/icon32.png", - "default_popup": "popup.html", + "default_icon": "assets/icon-disabled.png", "default_title": "Do Not Consent" }, "author": "wanhose", + "background": { + "persistent": false, + "scripts": ["scripts/background.js"] + }, "content_scripts": [ { - "all_frames": true, "js": ["scripts/content.js"], "matches": ["http://*/*", "https://*/*"], "run_at": "document_start" } ], - "web_accessible_resources": ["data/*", "scripts/popup.js", "styles/*"] + "permissions": ["storage", "tabs", "unlimitedStorage"], + "web_accessible_resources": [ + "data/elements.txt", + "scripts/popup.js", + "styles/index.css", + "styles/reset.css" + ] }