- 桌面端本机 HTTP/WS:17300/17301 → 16000/16001(前端、浏览器扩展、文档同步) - 后台服务局域网:UDP 17310/TCP 17311 → UDP 16100/TCP 16101(16010 被向日葵占用,统一避开 160xx) - 防火墙规则随端口更新,安装/升级时清理旧 17xxx 规则,避免继续占用别人的端口 - 桌面端版本升到 1.0.162 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "云仓视频溯源 · 单号注入",
|
|
"version": "1.1.2",
|
|
"description": "在第三方 WMS / 后台页面里识别单号,就地加工成可点击的溯源入口;识别前缀与生效站点由管理员在后台统一维护,插件每 5 分钟自动同步。",
|
|
"minimum_chrome_version": "96",
|
|
|
|
"icons": {
|
|
"16": "icons/icon16.png",
|
|
"32": "icons/icon32.png",
|
|
"48": "icons/icon48.png",
|
|
"128": "icons/icon128.png"
|
|
},
|
|
|
|
"permissions": ["storage", "alarms"],
|
|
|
|
"host_permissions": [
|
|
"http://localhost:16000/*",
|
|
"http://127.0.0.1:16000/*",
|
|
"https://pack.wms.gztbyc.com/*"
|
|
],
|
|
|
|
"action": {
|
|
"default_title": "云仓视频溯源",
|
|
"default_popup": "src/popup.html",
|
|
"default_icon": {
|
|
"16": "icons/icon16.png",
|
|
"32": "icons/icon32.png",
|
|
"48": "icons/icon48.png",
|
|
"128": "icons/icon128.png"
|
|
}
|
|
},
|
|
|
|
"options_ui": {
|
|
"page": "src/options.html",
|
|
"open_in_tab": true
|
|
},
|
|
|
|
"background": {
|
|
"service_worker": "src/background.js"
|
|
},
|
|
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["http://*/*", "https://*/*"],
|
|
"js": ["src/lib/rules.js", "src/content.js"],
|
|
"css": ["src/content.css"],
|
|
"run_at": "document_idle",
|
|
"all_frames": true
|
|
}
|
|
]
|
|
}
|