62 lines
1.4 KiB
HTML
62 lines
1.4 KiB
HTML
<!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. 按下方按鈕同步到 server
|
|
</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> |