modify manifest for Firefox build

This commit is contained in:
buzz-lightsnack-2007 2024-10-25 11:25:05 +08:00
parent b50df3400a
commit 80c9749844

View file

@ -7,7 +7,7 @@
"permissions": ["tabs", "storage", "unlimitedStorage"], "permissions": ["tabs", "storage", "unlimitedStorage"],
"background": { "background": {
"service_worker": "scripts/background/shopAI.js", "type": "module" "scripts": ["scripts/background/shopAI.js"]
}, },
"action": { "action": {
"default_popup": "pages/popup.htm" "default_popup": "pages/popup.htm"
@ -30,7 +30,9 @@
"512": "media/icons/logo_tiny.png" "512": "media/icons/logo_tiny.png"
}, },
"options_page": "pages/settings.htm", "options_ui": {
"page": "pages/settings.htm"
},
"default_locale": "en" "default_locale": "en"
} }