-
Notifications
You must be signed in to change notification settings - Fork 6
/
popup.html
187 lines (157 loc) · 5.23 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" charset="UTF-8">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css">
<style>
body {
margin: 0;
min-width: 500px;
}
/* Include the padding and border in an element's total width and height */
* {
box-sizing: border-box;
}
/* Remove margins and padding from the list */
ul {
margin: 0;
padding: 0;
}
/* Style the list items */
ul li {
cursor: pointer;
position: relative;
padding: 12px 8px 12px 40px;
list-style-type: none;
background: #eee;
font-size: 18px;
transition: 0.2s;
/* make the list items unselectable */
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* Set all odd list items to a different color (zebra-stripes) */
ul li:nth-child(odd) {
background: #f9f9f9;
}
/* Darker background-color on hover */
ul li:hover {
background: #ddd;
}
/* Style the close button */
.close {
position: absolute;
right: 0;
top: 0;
padding: 12px 16px 12px 16px;
}
.close:hover {
background-color: #f44336;
color: white;
}
/* Style the header */
.header {
background-color: #434749;
padding: 10px 30px 30px 30px;
color: white;
text-align: center;
/* make the list items unselectable */
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* Clear floats after the header */
.header:after {
content: "";
display: table;
clear: both;
}
/* Style the input */
input {
height: 40px;
margin: 0;
border: none;
border-radius: 0;
width: 60%;
padding: 10px;
float: left;
font-size: 16px;
}
input:focus {
outline-width: 0;
}
/* Style the "Add" button */
.addBtn {
border: 5px white solid;
height: 40px;
padding: 5px;
width: 20%;
background: #d9d9d9;
color: #555;
float: left;
text-align: center;
font-size: 16px;
cursor: pointer;
transition: 0.3s;
border-radius: 0;
}
.addBtn:hover {
background-color: #bbb;
}
.optBtn{
cursor: pointer;
font-size: 20px;
color: white;
position: absolute;
top: 10px;
right: 10px;
}
.inactive{
text-decoration: line-through;
}
.ghostBtn{
cursor: pointer;
font-size: 18px;
color: white;
position: absolute;
top: 10px;
left: 10px;
}
.ghostMode{
margin: 0px 0px 0px 25px !important;
padding: 0px !important;
font-size: 15px;
color: limegreen;
position: absolute;
top: 8px;
left: 10px;
display: block;
}
.off{
display: none !important;
}
.telegram{
cursor: pointer;
font-size: 20px;
}
</style>
</head>
<body>
<div id="popupDiv" class="header">
<i id="telegramIcon" class="fab fa-telegram-plane telegram" title="Telegram Notifications Disabled"></i>
<i id="ghostBtn" class="fas fa-ghost ghostBtn"></i>
<h3 id="ghostText" class="ghostMode off">Ghost Mode Active</h3>
<h2 style="margin-bottom: 20px">Instagram Black</h2>
<i id="go-to-options" class="fas fa-cog optBtn"></i>
<input type="text" id="usernameInput" placeholder="username...">
<span id="addBtn" class="addBtn">Add</span>
<span id="chkBtn" class="addBtn">Check</span>
</div>
<ul id="userListUL">
</ul>
<script src="popup.js"></script>
</body>
</html>