]> git.wh0rd.org Git - chrome-ext/clearhistory-advance-fork.git/commitdiff
convert to MV3 main v2.0
authorMike Frysinger <vapier@gentoo.org>
Fri, 7 Oct 2022 15:26:20 +0000 (21:11 +0545)
committerMike Frysinger <vapier@gentoo.org>
Fri, 7 Oct 2022 16:31:45 +0000 (22:16 +0545)
manifest.files
manifest.json
views/background.html [deleted file]

index c6b21037fa91f688776838aa52d3c10670e72d89..121dd80e47bcfa8f7f4618850872b7e82b91cb64 100644 (file)
@@ -10,6 +10,5 @@ javascript/clearhistory.js
 javascript/options.js
 javascript/popup.js
 javascript/util.js
 javascript/options.js
 javascript/popup.js
 javascript/util.js
-views/background.html
 views/options.html
 views/popup.html
 views/options.html
 views/popup.html
index 1929cd9eef509d3acef174a861fc5411d0ecba14..15d7270d00ff758a947d590edd67577d0ffa776c 100644 (file)
@@ -1,9 +1,9 @@
 {
   "name": "__MSG_name__",
   "default_locale": "en",
 {
   "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",
   "description": "__MSG_description__",
   "permissions": [
     "alarms",
     "cookies",
     "downloads",
     "notifications",
     "cookies",
     "downloads",
     "notifications",
-    "storage",
+    "storage"
+  ],
+  "host_permissions": [
     "http://*/*",
     "https://*/*"
   ],
   "background": {
     "http://*/*",
     "https://*/*"
   ],
   "background": {
-    "persistent": false,
-    "page": "views/background.html"
+    "service_worker": "javascript/clearhistory.js",
+    "type": "module"
   },
   "options_page": "views/options.html",
   },
   "options_page": "views/options.html",
-  "browser_action": {
+  "action": {
     "default_icon": "images/icon32.png",
     "default_title": "__MSG_title__",
     "default_popup": "views/popup.html"
     "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 (file)
index 1a6a1d5..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <meta charset='utf-8'/>
-    <script type='module' src='../javascript/clearhistory.js'></script>
-  </head>
-</html>