modified manifest to support Firefox

This commit is contained in:
buzz-lightsnack-2007 2024-05-01 16:53:44 +08:00
parent de986f56dc
commit a013bb1ccf

View file

@ -7,7 +7,7 @@
"permissions": ["tabs", "storage", "unlimitedStorage", "contextMenus"],
"background": {
"service_worker": "scripts/background/shopAI.js", "type": "module"
"scripts": ["scripts/background/shopAI.js"]
},
"action": {},
"content_scripts": [
@ -28,7 +28,15 @@
"512": "media/icons/logo_tiny.png"
},
"options_page": "pages/settings.htm",
"options_ui": {
"page": "pages/settings.htm"
},
"browser_specific_settings": {
"gecko": {
"id": "{db2d6746-5711-4c83-90c7-107057f37732}"
}
},
"default_locale": "en"
}