diff --git a/src/manifest/mv3.json b/src/manifest/mv3.json index eb44edb..d0d06bc 100644 --- a/src/manifest/mv3.json +++ b/src/manifest/mv3.json @@ -1,7 +1,6 @@ { "background": { - "scripts": ["js/back.js"], - "persistent": false + "service_worker": ["js/back.js"] }, "browser_action": { "default_icon": "logo.png", @@ -15,15 +14,19 @@ } ], "content_security_policy": "script-src 'self' 'unsafe-eval' https://ssl.google-analytics.com; object-src 'self'", "description": "Extension for automating chromium browser, Create project -> Record -> Edit Automation -> Manage -> Play (MV3)", + "host_permissions": [ + "http://*/*", + "https://*/*" + ], "icons": { "128": "css/icons/128x128.png", "16": "css/icons/16x16.png", "48": "css/icons/48x48.png" }, - "manifest_version": 2, + "manifest_version": 3, "name": "Chromium browser automation", "options_page": "options.html", - "permissions": ["cookies", "http://*/*", "https://*/*", "tabs", "storage"], + "permissions": ["cookies", "tabs", "storage", "scripting"], "update_url": "https://clients2.google.com/service/update2/crx", "version": "9.1.0" }