-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
112 lines (102 loc) · 2.36 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!doctype html>
<!--
This page is shown when the extension button is clicked, because the
"browser_action" field in manifest.json contains the "default_popup" key with
value "popup.html".
-->
<html>
<head>
<title>Popup</title>
<style>
* {
box-sizing: border-box;
}
html,
body {
min-width: 300px;
/*height: 100px;*/
margin: 0;
padding: 0;
font-family: Helvetica, Arial, sans-serif;
font-size: 16px;
}
header {
margin: 0;
color: #fff;
background: #28334B;
overflow: hidden;
text-align: center;
}
h1 {
margin: 10px 0;
padding: 0;
font-size: 24px;
}
label {
display: block;
display: block;
font-weight: 700;
font-size: 12px;
line-height: 16px;
color: #28334B;
}
input {
width: 100%;
outline: none;
-webkit-appearance: none;
-moz-appearance: none;
margin: 0 0 10px 0;
padding: 0 15px;
line-height: 20px;
height: 40px;
border: none;
border-radius: 4px;
box-shadow: inset 0 0 0 1px rgba(40, 51, 75, 0.2);
font-family: inherit;
font-size: inherit;
}
.wrapper {
width: 100%;
padding: 20px;
}
button {
margin: 0 0 10px 0;
padding: 10px 20px;
cursor: pointer;
color: #fff;
font-family: Helvetica, Arial, sans-serif;
font-size: 12px;
font-weight: bold;
letter-spacing: 1px;
text-transform: uppercase;
-webkit-font-smoothing: antialiased;
background-color: #28334B;
border: none;
border-radius: 100px;
outline: none;
}
button:hover {
background-color: #314061;
}
</style>
<script src="js/jquery.min.js"></script>
<script src="bg.js"></script>
<script src="ui.js"></script>
</head>
<body>
<header>
<h1>Cookie Inject</h1>
</header>
<div class="wrapper">
<div>
<label for="url">URL</label>
<input type="text" id="url" />
</div>
<div>
<label for="cookies">Cookies</label>
<input type="text" id="cookies" />
</div>
<button class="save" id="save">GO!</button>
</div>
</body>
</html>