reattempt working with manifest V3

This commit is contained in:
buzzcode2007 2024-03-20 13:38:34 +08:00
parent 2e20e54941
commit bd6000978b

View file

@ -1,18 +1,18 @@
{
"manifest_version": 2,
"manifest_version": 3,
"name": "__MSG_manifest_name__",
"description": "__MSG_manifest_description__",
"version": "0",
"permissions": [ "tabs", "activeTab", "storage"],
"browser_action": {
"default_icon": "gui/icons/logo_no_tiny.png",
"default_popup": "gui/popup.htm"
"action": {
"default_icon": "gui/icons/logo_no_tiny.png",
"default_popup": "gui/popup.htm"
},
"background": {
"scripts": ["scripts/ShopAI.js"],
"service_worker": "scripts/ShopAI.js",
"type": "module"
},
"content_scripts": [
@ -21,13 +21,13 @@
"js": ["scripts/watchman.js"]
}
],
"icons": {
"1024": "gui/icons/logo.png",
"512": "gui/icons/logo_tiny.png"
},
"options_page": "gui/popup.htm",
"default_locale": "en"
}