-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwelcome.html
More file actions
370 lines (326 loc) Β· 10 KB
/
welcome.html
File metadata and controls
370 lines (326 loc) Β· 10 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
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Element Masker - Welcome</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
color: #333;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
.welcome-card {
background: white;
border-radius: 12px;
padding: 40px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
margin-bottom: 30px;
}
.header {
text-align: center;
margin-bottom: 40px;
}
.header h1 {
font-size: 2.5em;
margin: 0;
color: #2196f3;
}
.header p {
font-size: 1.2em;
color: #666;
margin: 10px 0 0 0;
}
.icon {
font-size: 4em;
margin-bottom: 20px;
}
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
margin: 40px 0;
}
.feature {
text-align: center;
padding: 20px;
background: #f8f9fa;
border-radius: 8px;
}
.feature-icon {
font-size: 2em;
margin-bottom: 15px;
}
.feature h3 {
margin: 0 0 10px 0;
color: #2196f3;
}
.feature p {
color: #666;
font-size: 0.9em;
}
.instructions {
background: #e3f2fd;
border-left: 4px solid #2196f3;
padding: 20px;
margin: 30px 0;
border-radius: 0 8px 8px 0;
}
.instructions h3 {
margin-top: 0;
color: #1976d2;
}
.step {
margin: 15px 0;
padding: 10px 0;
border-bottom: 1px solid rgba(33, 150, 243, 0.1);
}
.step:last-child {
border-bottom: none;
}
.step-number {
display: inline-block;
width: 25px;
height: 25px;
background: #2196f3;
color: white;
border-radius: 50%;
text-align: center;
line-height: 25px;
font-weight: bold;
margin-right: 10px;
font-size: 0.9em;
}
.cta {
text-align: center;
margin: 40px 0;
}
.btn {
display: inline-block;
padding: 12px 30px;
background: #2196f3;
color: white;
text-decoration: none;
border-radius: 6px;
font-weight: bold;
margin: 10px;
transition: background 0.3s ease;
}
.btn:hover {
background: #1976d2;
}
.btn-secondary {
background: #666;
}
.btn-secondary:hover {
background: #555;
}
.warning {
background: #fff3cd;
border: 1px solid #ffeaa7;
border-radius: 6px;
padding: 15px;
margin: 20px 0;
color: #856404;
}
.warning h4 {
margin-top: 0;
color: #b8860b;
}
footer {
text-align: center;
padding: 20px;
color: rgba(255, 255, 255, 0.8);
font-size: 0.9em;
}
</style>
</head>
<body>
<div class="container">
<div class="welcome-card">
<div class="header">
<div class="icon">
<img
src="icons/icon128.png"
alt="Element Masker Icon"
style="width: 80px; height: 80px"
/>
</div>
<h1>Element Masker</h1>
<p>Privacy protection for your screen</p>
</div>
<div class="features">
<div class="feature">
<div class="feature-icon">π±οΈ</div>
<h3>Ctrl + Click to Mask</h3>
<p>
Hold Ctrl (or β on Mac) and click any element to instantly mask it
with your chosen style
</p>
</div>
<div class="feature">
<div class="feature-icon">β¨οΈ</div>
<h3>Keyboard Shortcuts</h3>
<p>
Press Ctrl+Shift+M to toggle masking mode instantly, or
Ctrl+Shift+C to clear all masks without opening the popup
</p>
</div>
<div class="feature">
<div class="feature-icon">π¨</div>
<h3>Multiple Mask Styles</h3>
<p>
Choose between blur style (subtle) or solid style (complete
coverage) and switch between them instantly
</p>
</div>
<div class="feature">
<div class="feature-icon">ποΈ</div>
<h3>Visual Feedback</h3>
<p>
Blue outlines show which elements you can mask when holding Ctrl/β
and hovering. Badge counter shows total masked elements.
</p>
</div>
<div class="feature">
<div class="feature-icon">π</div>
<h3>Toggle Masking</h3>
<p>
Hold Ctrl/β and click masked elements again to instantly restore
their original content
</p>
</div>
<div class="feature">
<div class="feature-icon">πΎ</div>
<h3>Session Memory</h3>
<p>
Your masking preferences and masked elements persist across page
reloads
</p>
</div>
<div class="feature">
<div class="feature-icon">β‘</div>
<h3>Real-time</h3>
<p>Instant masking and unmasking with smooth visual transitions</p>
</div>
<div class="feature">
<div class="feature-icon">π―</div>
<h3>Precise Control</h3>
<p>You decide exactly what gets masked - no automatic detection</p>
</div>
</div>
<div class="instructions">
<h3>How to Use Element Masker</h3>
<div class="step">
<span class="step-number">1</span>
<strong>Click the extension icon</strong> in your browser toolbar
(or use Ctrl+Shift+M)
</div>
<div class="step">
<span class="step-number">2</span>
<strong>Toggle "Masking Mode" switch</strong> - the switch will turn
blue/purple and show "Active". Notice the instructions appear.
</div>
<div class="step">
<span class="step-number">3</span>
<strong>Choose your mask style</strong> - select "Blur" for subtle
masking or "Solid" for complete coverage in the style section
</div>
<div class="step">
<span class="step-number">4</span>
<strong>Hold Ctrl (or β on Mac) and hover</strong> over elements to
see them highlighted with blue outlines
</div>
<div class="step">
<span class="step-number">5</span>
<strong>Hold Ctrl/β + Click elements to mask them</strong> - they'll
be masked with your chosen style. Watch the badge counter increase!
</div>
<div class="step">
<span class="step-number">6</span>
<strong>Use keyboard shortcuts</strong> - Press Ctrl+Shift+C to
clear all masks instantly, or Ctrl+Shift+M to toggle masking mode
</div>
<div class="step">
<span class="step-number">7</span>
<strong>Normal clicks work normally</strong> - you can still
interact with buttons, links, and forms
</div>
<div class="step">
<span class="step-number">8</span>
<strong>Toggle "Masking Mode" switch off</strong> when finished to
clear all masks and deactivate the extension
</div>
</div>
<div class="warning">
<h4>β οΈ Important Usage Notes</h4>
<ul>
<li>
<strong>Normal interaction preserved:</strong> Regular clicks work
normally - you can still use buttons, links, and forms
</li>
<li>
<strong>Masking requires modifier key:</strong> Hold Ctrl
(Windows/Linux) or β (Mac) while clicking to mask elements
</li>
<li>
<strong>Keyboard shortcuts available:</strong> Use Ctrl+Shift+M to
toggle masking mode and Ctrl+Shift+C to clear all masks instantly
</li>
<li>
<strong>Two mask styles available:</strong> Blur style maintains
element shape, solid style provides complete coverage
</li>
<li>
<strong>Badge counter:</strong> Extension icon shows how many
elements are currently masked on the active tab
</li>
<li>
<strong>Visual privacy only:</strong> This extension only masks
content visually - it doesn't prevent websites from collecting
data
</li>
<li>
You can Ctrl/β + click masked elements again to restore their
original content
</li>
<li>Masking state persists when you refresh the page</li>
<li>
Perfect for screen sharing, screenshots, and privacy protection
</li>
</ul>
</div>
<div class="cta">
<a
href="#"
class="btn"
onclick="chrome.tabs.create({url: 'chrome://extensions/'}); return false;"
>
Manage Extensions
</a>
<a
href="#"
class="btn btn-secondary"
onclick="window.close(); return false;"
>
Start Masking
</a>
</div>
</div>
</div>
<footer>
<p>Element Masker v1.0 - Built for privacy and productivity</p>
<p>Developed by Baki Ruhunnabi</p>
</footer>
</body>
</html>