-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
181 lines (170 loc) · 5.96 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
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="/css/popup.css" />
</head>
<body>
<div id="loading">
<div class="loading-spinner"></div>
</div>
<div class="container">
<div class="header">
<h1>FingerprintGuard</h1>
<div id="openSettings" class="settings-button">
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path
d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"
/>
<circle cx="12" cy="12" r="3" />
</svg>
</div>
</div>
<div id="ghostModeIcon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<defs>
<filter id="glow">
<feGaussianBlur stdDeviation="2" result="coloredBlur" />
<feMerge>
<feMergeNode in="coloredBlur" />
<feMergeNode in="SourceGraphic" />
</feMerge>
</filter>
</defs>
<g filter="url(#glow)">
<path
d="M 50 20 C 30 20, 20 35, 20 55 C 20 75, 20 85, 20 85 L 25 80 L 30 85 L 35 80 L 40 85 L 45 80 L 50 85 L 55 80 L 60 85 L 65 80 L 70 85 L 75 80 L 80 85 C 80 85, 80 75, 80 55 C 80 35, 70 20, 50 20 Z"
fill="white"
stroke="currentColor"
stroke-width="2"
/>
<circle cx="40" cy="45" r="5" fill="currentColor" />
<circle cx="60" cy="45" r="5" fill="currentColor" />
</g>
</svg>
<p id="ghostModeText">Ghost Mode activated</p>
</div>
<div id="settings">
<div class="item">
<div>
<span class="item-label">Ghost Mode</span>
<span class="tooltip"
>?
<span class="tooltip-text"
>Makes all properties undetectable, can break some websites</span
>
</span>
</div>
<label class="slider">
<input type="checkbox" id="ghostMode" />
<span class="slider"></span>
</label>
</div>
<div id="normalControls">
<div class="item">
<div>
<span class="item-label">Browser Spoofing</span>
<span class="tooltip"
>?
<span class="tooltip-text"
>Modifies browser information to prevent identification</span
>
</span>
</div>
<label class="slider">
<input type="checkbox" id="spoofNavigator" />
<span class="slider"></span>
</label>
</div>
<div class="item">
<div>
<span class="item-label">User Agent Spoofing</span>
<span class="tooltip"
>?
<span class="tooltip-text"
>Changes the browser identity sent to websites</span
>
</span>
</div>
<label class="slider">
<input type="checkbox" id="spoofUserAgent" />
<span class="slider"></span>
</label>
</div>
<div class="item">
<div>
<span class="item-label">Canvas Spoofing</span>
<span class="tooltip"
>?
<span class="tooltip-text"
>Slightly modifies canvas rendering to avoid
fingerprinting</span
>
</span>
</div>
<label class="slider">
<input type="checkbox" id="spoofCanvas" />
<span class="slider"></span>
</label>
</div>
<div class="item">
<div>
<span class="item-label">Block Images</span>
<span class="tooltip"
>?
<span class="tooltip-text">Blocks loading of images</span>
</span>
</div>
<label class="slider">
<input type="checkbox" id="blockImages" />
<span class="slider"></span>
</label>
</div>
<div class="item">
<div>
<span class="item-label">Block JavaScript</span>
<span class="tooltip"
>?
<span class="tooltip-text">Disables JavaScript</span>
</span>
</div>
<label class="slider">
<input type="checkbox" id="blockJS" />
<span class="slider"></span>
</label>
</div>
</div>
</div>
<div id="status" class="status">
<span id="statusText">Loading...</span>
</div>
<button id="reloadAllTabs">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"
/>
</svg>
Reload All Pages
</button>
</div>
<script src="popup.js"></script>
</body>
</html>