From: Mike Frysinger Date: Fri, 7 Oct 2022 15:26:20 +0000 (+0545) Subject: convert to MV3 X-Git-Tag: v2.0 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=refs%2Fheads%2Fmain;p=chrome-ext%2Fclearhistory-advance-fork.git convert to MV3 --- diff --git a/manifest.files b/manifest.files index c6b2103..121dd80 100644 --- a/manifest.files +++ b/manifest.files @@ -10,6 +10,5 @@ javascript/clearhistory.js javascript/options.js javascript/popup.js javascript/util.js -views/background.html views/options.html views/popup.html diff --git a/manifest.json b/manifest.json index 1929cd9..15d7270 100644 --- a/manifest.json +++ b/manifest.json @@ -1,9 +1,9 @@ { "name": "__MSG_name__", "default_locale": "en", - "manifest_version": 2, - "minimum_chrome_version": "28", - "version": "1.5.6", + "manifest_version": 3, + "minimum_chrome_version": "100", + "version": "2.0", "description": "__MSG_description__", "permissions": [ "alarms", @@ -11,16 +11,18 @@ "cookies", "downloads", "notifications", - "storage", + "storage" + ], + "host_permissions": [ "http://*/*", "https://*/*" ], "background": { - "persistent": false, - "page": "views/background.html" + "service_worker": "javascript/clearhistory.js", + "type": "module" }, "options_page": "views/options.html", - "browser_action": { + "action": { "default_icon": "images/icon32.png", "default_title": "__MSG_title__", "default_popup": "views/popup.html" diff --git a/views/background.html b/views/background.html deleted file mode 100644 index 1a6a1d5..0000000 --- a/views/background.html +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - -