-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpopup.html
More file actions
67 lines (67 loc) · 1.5 KB
/
Copy pathpopup.html
File metadata and controls
67 lines (67 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Cookie获取工具</title>
<style>
body {
width: 400px;
padding: 10px;
font-family: Arial, sans-serif;
}
h1 {
font-size: 18px;
text-align: center;
margin-bottom: 15px;
}
button {
width: 100%;
padding: 8px;
background-color: #4285f4;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
margin-bottom: 10px;
}
button:hover {
background-color: #3367d6;
}
#cookieContainer {
max-height: 300px;
overflow-y: auto;
border: 1px solid #ddd;
padding: 10px;
margin-top: 10px;
}
.cookie-item {
padding: 5px;
border-bottom: 1px solid #eee;
}
.httpOnly {
color: #d93025;
font-weight: bold;
}
#copyButton {
background-color: #34a853;
}
#copyButton:hover {
background-color: #2e8b57;
}
.empty-message {
text-align: center;
color: #666;
padding: 20px;
}
</style>
</head>
<body>
<h1>Cookie获取工具</h1>
<button id="getCookiesButton">获取当前网站Cookie</button>
<button id="copyButton">复制所有Cookie</button>
<div id="cookieContainer">
<div class="empty-message">点击上方按钮获取Cookie</div>
</div>
<script src="popup.js"></script>
</body>
</html>