X-Git-Url: https://git.wh0rd.org/?p=chrome-ext%2Fclearhistory-advance-fork.git;a=blobdiff_plain;f=manifest.json;h=7c6425b1693b3c0a598e2e808ff16a8322477927;hp=e50a4a7a2f5a71fd9dd8912af1ccf2ab7396f361;hb=HEAD;hpb=a5409a6b2a66bfd85a902c468b726e1e60855c71 diff --git a/manifest.json b/manifest.json index e50a4a7..15d7270 100644 --- a/manifest.json +++ b/manifest.json @@ -1,37 +1,36 @@ { "name": "__MSG_name__", "default_locale": "en", - "manifest_version": 2, - "version": "1.5", + "manifest_version": 3, + "minimum_chrome_version": "100", + "version": "2.0", "description": "__MSG_description__", "permissions": [ - "tabs", + "alarms", "history", "cookies", + "downloads", "notifications", + "storage" + ], + "host_permissions": [ "http://*/*", "https://*/*" ], "background": { - "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" - ], - "content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'" + } }