feat(browser): Cookie 备份导入——配套扩展走 chrome.cookies 官方明文通道
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>ASO Cookie 导出助手</title>
|
||||
<style>
|
||||
body {
|
||||
width: 280px;
|
||||
margin: 0;
|
||||
padding: 14px;
|
||||
font: 13px/1.6 system-ui, 'Segoe UI', 'Microsoft YaHei', sans-serif;
|
||||
color: #1f2328;
|
||||
background: #fff;
|
||||
}
|
||||
h1 {
|
||||
margin: 0 0 4px;
|
||||
font-size: 14px;
|
||||
}
|
||||
p {
|
||||
margin: 0 0 12px;
|
||||
color: #6b7280;
|
||||
font-size: 12px;
|
||||
}
|
||||
button {
|
||||
width: 100%;
|
||||
padding: 8px 0;
|
||||
font-size: 13px;
|
||||
color: #fff;
|
||||
background: #2563eb;
|
||||
border: 0;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
button:hover {
|
||||
background: #1d4ed8;
|
||||
}
|
||||
button:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: default;
|
||||
}
|
||||
#status {
|
||||
margin-top: 10px;
|
||||
min-height: 18px;
|
||||
font-size: 12px;
|
||||
color: #374151;
|
||||
word-break: break-all;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Cookie 导出助手</h1>
|
||||
<p>导出本浏览器全部 Cookie(明文),到 Inkreach Agent 的 设置 → 浏览器 → Cookie 备份导入 里使用。</p>
|
||||
<button id="export">导出全部 Cookie</button>
|
||||
<div id="status"></div>
|
||||
<script src="popup.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user