douyinWEB/extensions/dylive-helper/manifest.json
eric ba2ab0400a fix(test1): X发帖媒体改为后台下载,失败不再删S3
content script 在 x.com 上 fetch S3 会 Failed to fetch;改走 background host_permissions,且 failed 任务保留媒体以便重试。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-15 08:07:27 -05:00

63 lines
1.6 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"manifest_version": 3,
"name": "dylive Helper",
"version": "2.2.1",
"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/*",
"https://s3.nomadro.com/*",
"https://feiniu.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"
}
]
}