Avoid F12 cookie copy: read HttpOnly sessionid, fill dylive paste form. Co-authored-by: Cursor <cursoragent@cursor.com>
37 lines
942 B
JSON
37 lines
942 B
JSON
{
|
||
"manifest_version": 3,
|
||
"name": "dylive TikTok Cookie",
|
||
"version": "1.0.0",
|
||
"description": "从已登录的 tiktok.com 读取 sessionid / tt-target-idc,一键复制或填入 dylive 控制台。",
|
||
"icons": {
|
||
"128": "icon.png"
|
||
},
|
||
"action": {
|
||
"default_title": "导出 TikTok Cookie",
|
||
"default_popup": "popup.html",
|
||
"default_icon": "icon.png"
|
||
},
|
||
"permissions": ["cookies", "tabs", "clipboardWrite", "scripting"],
|
||
"host_permissions": [
|
||
"https://www.tiktok.com/*",
|
||
"https://*.tiktok.com/*",
|
||
"https://dylive.nomadro.com/*",
|
||
"http://127.0.0.1/*",
|
||
"http://localhost/*"
|
||
],
|
||
"background": {
|
||
"service_worker": "background.js"
|
||
},
|
||
"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"
|
||
}
|
||
]
|
||
}
|