61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
||
"manifest_version": 3,
|
||
"name": "dylive Helper",
|
||
"version": "2.1.2",
|
||
"description": "TikTok Cookie + X2 Ops(推送到 dylive /x)",
|
||
"permissions": ["cookies", "storage", "tabs", "alarms", "scripting", "clipboardWrite"],
|
||
"host_permissions": [
|
||
"https://www.tiktok.com/*",
|
||
"https://*.tiktok.com/*",
|
||
"https://x.com/*",
|
||
"https://twitter.com/*",
|
||
"https://dylive.nomadro.com/*",
|
||
"http://127.0.0.1/*",
|
||
"http://localhost/*",
|
||
"http://127.0.0.1:17888/*"
|
||
],
|
||
"icons": {
|
||
"16": "icons/icon-16.png",
|
||
"48": "icons/icon-48.png",
|
||
"128": "icons/icon-128.png"
|
||
},
|
||
"background": {
|
||
"service_worker": "background.js",
|
||
"type": "module"
|
||
},
|
||
"action": {
|
||
"default_popup": "popup.html",
|
||
"default_title": "dylive Helper",
|
||
"default_icon": {
|
||
"16": "icons/icon-16.png",
|
||
"48": "icons/icon-48.png",
|
||
"128": "icons/icon-128.png"
|
||
}
|
||
},
|
||
"content_scripts": [
|
||
{
|
||
"matches": [
|
||
"https://dylive.nomadro.com/tiktok*",
|
||
"http://127.0.0.1:*/tiktok*",
|
||
"http://localhost:*/tiktok*"
|
||
],
|
||
"js": ["content-dylive.js"],
|
||
"run_at": "document_idle"
|
||
},
|
||
{
|
||
"matches": [
|
||
"https://dylive.nomadro.com/*",
|
||
"http://127.0.0.1:*/*",
|
||
"http://localhost:*/*"
|
||
],
|
||
"js": ["content-dylive-bridge.js"],
|
||
"run_at": "document_idle"
|
||
},
|
||
{
|
||
"matches": ["https://x.com/*", "https://twitter.com/*"],
|
||
"js": ["content.js"],
|
||
"run_at": "document_idle"
|
||
}
|
||
]
|
||
}
|