Repository navigation
Expand file tree
/
Copy pathpopup.html
More file actions
120 lines (120 loc) · 2.85 KB
/
Copy pathpopup.html
File metadata and controls
120 lines (120 loc) · 2.85 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>NoGrok</title>
<style>
:root {
color-scheme: light;
font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
body {
margin: 12px;
min-width: 220px;
color: #0f172a;
}
.header {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 8px;
}
.header img {
width: 28px;
height: 28px;
border-radius: 6px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
h1 {
font-size: 16px;
margin: 0;
}
fieldset {
border: 1px solid #cbd5e1;
border-radius: 8px;
padding: 10px;
}
legend {
padding: 0 6px;
font-weight: 600;
color: #0f172a;
}
label {
display: flex;
align-items: center;
gap: 6px;
margin: 6px 0;
cursor: pointer;
}
input[type="radio"] {
accent-color: #2563eb;
}
.status {
margin-top: 8px;
font-size: 12px;
color: #334155;
}
.current-mode {
margin-top: 8px;
font-size: 12px;
font-weight: 600;
color: #0f172a;
}
.counter {
margin-top: 10px;
padding: 8px 10px;
border: 1px solid #cbd5e1;
border-radius: 8px;
background: #f8fafc;
font-weight: 600;
}
.counter p {
margin: 4px 0;
}
.repo {
margin-top: 10px;
font-size: 12px;
}
.repo a {
color: #2563eb;
text-decoration: none;
font-weight: 600;
}
.repo a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="header">
<img src="assets/NoGrok-128.png" alt="NoGrok icon" />
<h1>NoGrok</h1>
</div>
<fieldset>
<legend>Handling</legend>
<label>
<input type="radio" name="handling" value="hide" />
Hide Grokipedia results
</label>
<label>
<input type="radio" name="handling" value="gray" />
Gray them out
</label>
<label>
<input type="radio" name="handling" value="keep" />
Keep visible
</label>
</fieldset>
<div class="counter">
<p id="counter-current">Groks slain (this page): 0</p>
<p id="counter-total">Groks slain (total): 0</p>
</div>
<div class="current-mode" id="current-mode"></div>
<div class="repo">
<a href="https://github.com/403-html/NoGrok" target="_blank" rel="noopener noreferrer">GitHub: 403-html/NoGrok</a>
</div>
<div class="status" id="status"></div>
<script src="popup.js"></script>
</body>
</html>