Avoid F12 cookie copy: read HttpOnly sessionid, fill dylive paste form. Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
950 B
HTML
30 lines
950 B
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>dylive TikTok Cookie</title>
|
|
<link rel="stylesheet" href="popup.css" />
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1>TikTok Cookie</h1>
|
|
<p>登录 tiktok.com 后点导出,无需 F12</p>
|
|
</header>
|
|
<div id="status" class="status idle">正在读取…</div>
|
|
<dl>
|
|
<dt>sessionid</dt>
|
|
<dd id="sid">—</dd>
|
|
<dt>tt-target-idc</dt>
|
|
<dd id="dc">—</dd>
|
|
</dl>
|
|
<div class="actions">
|
|
<button id="copy" type="button" disabled>复制 JSON</button>
|
|
<button id="fill" type="button" disabled>填入控制台</button>
|
|
<button id="open-tt" type="button">打开 TikTok 登录</button>
|
|
<button id="open-dy" type="button">打开 dylive /tiktok</button>
|
|
</div>
|
|
<p class="hint">sessionid 等同密码,只粘贴到自己的 dylive 控制台。</p>
|
|
<script src="popup.js"></script>
|
|
</body>
|
|
</html>
|