-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
45 lines (42 loc) · 1.01 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<title>blocked sites</title>
<style>
body {
margin: 2em;
}
textarea {
height: 30em;
width: 20em;
}
.summary {
width: 40em;
margin-bottom: 2em;
}
.inputContainer {
display: inline-block;
}
</style>
</head>
<body>
<div class="summary">
enter sites to block, one domain per line. no wildcard support, but
"example.com" will block all subdomains. also, "com" would block all .com
websites, if you really wanted to do that. blank lines will be ignored.
</div>
<div class="inputContainer">
<div>sites to block during work (9-5)</div>
<textarea id="work"></textarea>
</div>
<div class="inputContainer">
<div>sites to block 24/7</div>
<textarea id="always"></textarea>
</div>
<div>
<button id="save">save</button>
<span id="status"></span>
</div>
<script src="options.js"></script>
</body>
</html>