can modularize

This commit is contained in:
buzzcode2007 2024-03-20 23:32:13 +08:00
parent 11202ba79f
commit 6cc6a61eee

View file

@ -4,23 +4,25 @@
"description": "__MSG_manifest_description__", "description": "__MSG_manifest_description__",
"version": "0", "version": "0",
"permissions": [ "tabs", "activeTab", "storage"], "permissions": [ "tabs", "activeTab", "storage", "unlimitedStorage"],
"action": { "action": {
"default_icon": "gui/icons/logo_no_tiny.png", "default_icon": "gui/icons/logo_no_tiny.png",
"default_popup": "gui/popup.htm" "default_popup": "gui/popup.htm"
}, },
"background": {
"service_worker": "scripts/ShopAI.js",
"type": "module"
},
"content_scripts": [ "content_scripts": [
{ {
"matches": ["http://*/*", "https://*/*"], "matches": ["http://*/*", "https://*/*"],
"js": ["scripts/watchman.js"] "js": ["scripts/watchman.js"]
} }
], ],
"web_accessible_resources": [
{
"matches": ["http://*/*", "https://*/*"],
"resources": ["scripts/secretariat.js", "scripts/reader.js", "gui/scripts/read.JS", "gui/scripts/alerts.js"]
}
],
"icons": { "icons": {
"1024": "gui/icons/logo.png", "1024": "gui/icons/logo.png",