haixunMaster/extension/haixun-threads-sync/popup.html

62 lines
1.4 KiB
HTML
Raw Permalink 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.

<!doctype html>
<html lang="zh-Hant">
<head>
<meta charset="UTF-8" />
<title>巡樓 Session 同步</title>
<style>
body {
font-family: system-ui, sans-serif;
width: 320px;
margin: 0;
padding: 14px;
color: #111;
}
h1 {
font-size: 15px;
margin: 0 0 8px;
}
p {
font-size: 12px;
line-height: 1.5;
color: #555;
margin: 0 0 12px;
}
button {
width: 100%;
border: 0;
border-radius: 8px;
background: #111;
color: #fff;
padding: 10px 12px;
font-size: 13px;
cursor: pointer;
}
button:disabled {
opacity: 0.6;
cursor: wait;
}
#status {
margin-top: 10px;
font-size: 12px;
line-height: 1.4;
white-space: pre-wrap;
}
a {
color: #2563eb;
font-size: 12px;
}
</style>
</head>
<body>
<h1>同步 Threads Session</h1>
<p>
1. 在 Chrome 登入 threads.com<br />
2. 開啟巡樓網頁並登入、切換帳號<br />
3. 按下方按鈕(會自動讀取巡樓 JWT
</p>
<button id="sync">同步到巡樓</button>
<div id="status"></div>
<p style="margin-top: 12px"><a href="options.html" target="_blank">設定 server 網址</a></p>
<script type="module" src="popup.js"></script>
</body>
</html>