travel/chrome/hello.html

22 lines
858 B
HTML
Raw Normal View History

2024-06-24 11:52:30 +08:00
<html lang="en">
<head>
<meta charset="UTF-8">
<title>获取当前页Cookies</title>
</head>
<body>
<div style="width: 160px">
<h2>获取当前页Cookies</h2>
<input type="text" id="url" hidden="" placeholder="Enter URL">
<button id="get-cookies" style="font-size: 14px"><span style="color: #ff806c;font-size: 16px;">①、</span> <span style="text-decoration: underline">点击获取当前页Cookies</span> </button>
<br/><br/>
<button id="send-cookies" style="font-size: 14px"><span style="color: #ff806c;font-size: 16px">②、</span> <span style="text-decoration: underline">点击发送当前页面Cookies</span> </button>
<br/><br/>
</div>
<b>内容展示Cookies: </b>
<div style="height: auto; width: auto;word-wrap: break-word;" id="cookie-list">
</div>
<script src="popup.js"></script>
</body>
</html>