-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
68 lines (61 loc) · 1.72 KB
/
popup.html
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
68
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cookie Injector</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
width: 250px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input[type="text"] {
width: 100%;
padding: 8px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
button {
display: block;
width: 100%;
padding: 10px;
background-color: #007BFF;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<form>
<div>
<label for="sourceUrl">源网站URL:</label>
<input type="text" id="sourceUrl" name="sourceUrl" value="">
</div>
<div>
<label for="targetUrl">目标网站URL:</label>
<input type="text" id="targetUrl" name="targetUrl">
</div>
<div>
<label for="targetUrl">cookie(多个cookie用逗号分隔):</label>
<input type="text" id="cookies" name="cookies" value="">
</div>
<div id="tips"></div>
<button id="getCookieButton" type="button">Get Cookie</button>
</form>
<script src="popup.js"></script>
</body>
</html>