douyinWEB/extensions/tiktok-cookie-helper/README.md
eric d0bbcb484a add TikTok Cookie Chrome helper and Tampermonkey script
Avoid F12 cookie copy: read HttpOnly sessionid, fill dylive paste form.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 10:39:29 -05:00

27 lines
991 B
Markdown
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.

# dylive TikTok Cookie 助手
TikTok 的 `sessionid` 一般是 **HttpOnly**,页面 JS / 普通油猴读不到。
**推荐 Chrome 插件**(`chrome.cookies` 可读 HttpOnly)。油猴脚本需要 Tampermonkey 的 `GM.cookie`。
## Chrome 插件(推荐)
1. 打开 `chrome://extensions`
2. 打开右上角「开发者模式」
3. 「加载已解压的扩展程序」→ 选本目录 `extensions/tiktok-cookie-helper`
4. 浏览器登录 [tiktok.com](https://www.tiktok.com)
5. 点工具栏图标 → **复制 JSON** 或 **填入控制台**
6. 到 [dylive /tiktok](https://dylive.nomadro.com/tiktok) 打开「粘贴 Cookie」,点保存
## 油猴脚本
1. 安装 Tampermonkey
2. 导入 `tiktok-cookie.user.js`
3. 打开并登录 tiktok.com,点右下角「导出 Cookie → dylive」
4. 回到控制台「从剪贴板导入」
若提示不支持 `GM.cookie`,改用 Chrome 插件。
## 安全
`sessionid` 等同账号密码。不要发给别人,不要贴到聊天软件。