31 lines
870 B
JSON
31 lines
870 B
JSON
{
|
|||
|
|
"manifest_version": 3,
|
||
|
|
"name": "HeXi BF2042 捕获桥",
|
||
|
|
"version": "0.1.0",
|
||
|
|
"description": "被动捕获 tracker.gg 的 BF2042 响应并经 WebSocket 转发给本机禾汐 bot。浏览器无需开调试端口。",
|
||
|
|
"minimum_chrome_version": "116",
|
||
|
|
"permissions": ["tabs", "scripting", "alarms"],
|
||
|
|
"host_permissions": [
|
||
|
|
"https://tracker.gg/*",
|
||
|
|
"https://*.tracker.gg/*",
|
||
|
|
"http://127.0.0.1/*"
|
||
|
|
],
|
||
|
|
"background": {
|
||
|
|
"service_worker": "background.js"
|
||
|
|
},
|
||
|
|
"content_scripts": [
|
||
|
|
{
|
||
|
|
"matches": ["https://tracker.gg/*", "https://*.tracker.gg/*"],
|
||
|
|
"js": ["inject.js"],
|
||
|
|
"run_at": "document_start",
|
||
|
|
"world": "MAIN",
|
||
|
|
"all_frames": true
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"matches": ["https://tracker.gg/*", "https://*.tracker.gg/*"],
|
||
|
|
"js": ["content.js"],
|
||
|
|
"run_at": "document_start",
|
||
|
|
"all_frames": true
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|