-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
64 lines (53 loc) · 1.73 KB
/
popup.html
File metadata and controls
64 lines (53 loc) · 1.73 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Auto Wipe</title>
<link rel="stylesheet" href="popup.css" />
</head>
<body>
<div class="wrap">
<div class="header">
<div class="title">Auto Wipe</div>
<div class="subtitle">Minimal controls</div>
</div>
<div class="section">
<div class="section-title">What to wipe</div>
<label class="row">
<input type="checkbox" id="wipeHistory" />
<span>Browsing history</span>
</label>
<label class="row">
<input type="checkbox" id="wipeCache" />
<span>Cache</span>
</label>
<label class="row">
<input type="checkbox" id="wipeDownloads" />
<span>Download history</span>
</label>
<div class="actions">
<button id="wipeNow" class="btn" type="button">Wipe now</button>
</div>
</div>
<div class="section">
<div class="section-title">When to wipe</div>
<label class="row">
<input type="checkbox" id="triggerStartup" />
<span>On browser startup</span>
</label>
<label class="row">
<input type="checkbox" id="triggerLastWindowClose" />
<span>When last window closes (best-effort)</span>
</label>
<div class="hint">
Best-effort: Chrome may shut down the extension process too quickly during exit, so this trigger is not guaranteed.
</div>
</div>
<div class="footer">
<div id="status" class="status" aria-live="polite"></div>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>