rename watchman to watch, and rename content to be part of background

This commit is contained in:
buzz-lightsnack-2007 2024-04-28 13:11:05 +08:00
parent 543a3d4e13
commit 43322a8208
4 changed files with 17 additions and 21 deletions

View file

@ -8,12 +8,8 @@
"permissions": ["tabs", "storage", "unlimitedStorage", "contextMenus"],
"action": {
"default_icon": "media/icons/logo_no_tiny.png",
"default_popup": "pages/popup.htm"
},
"side_panel": {
"default_path": "pages/popup.htm"
},
"background": {
"service_worker": "scripts/background/shopAI.js", "type": "module"
@ -22,7 +18,7 @@
"content_scripts": [
{
"matches": ["http://*/*", "https://*/*"],
"js": ["scripts/external/content.js"]
"js": ["scripts/external/background.js"]
}
],
"web_accessible_resources": [