]> git.wh0rd.org - chrome-ext/clearhistory-advance-fork.git/blobdiff - manifest.json
convert to MV3
[chrome-ext/clearhistory-advance-fork.git] / manifest.json
index d089fb60ff01020ba2f89288ff5907404a15bced..15d7270d00ff758a947d590edd67577d0ffa776c 100644 (file)
@@ -1,38 +1,36 @@
 {
   "name": "__MSG_name__",
   "default_locale": "en",
-  "manifest_version": 2,
-  "version": "1.5.0",
+  "manifest_version": 3,
+  "minimum_chrome_version": "100",
+  "version": "2.0",
   "description": "__MSG_description__",
   "permissions": [
     "alarms",
-    "tabs",
     "history",
     "cookies",
+    "downloads",
     "notifications",
+    "storage"
+  ],
+  "host_permissions": [
     "http://*/*",
     "https://*/*"
   ],
   "background": {
-    "persistent": false,
-    "scripts": [
-      "javascript/background.js",
-      "javascript/util.js",
-      "javascript/clearhistory.js"
-    ]
+    "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_title": "__MSG_title__",
+    "default_popup": "views/popup.html"
   },
   "icons": {
     "16": "images/icon16.png",
     "32": "images/icon32.png",
     "48": "images/icon48.png",
     "128": "images/icon128.png"
-  },
-  "web_accessible_resources": [
-    "images/icon48.png"
-  ]
+  }
 }