-
Notifications
You must be signed in to change notification settings - Fork 1
/
options.html
49 lines (40 loc) · 1.4 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
46
47
48
49
<!-- RegEx Blocklist
Copyright (C) 2020 Aaron Erhardt
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="options.css">
</head>
<body>
<h1>RegEx Blocklist</h1>
<p class="narrow">All urls matching the Regular Expressions in the blocklist will be blocked unless the allowlist explicitly allows the url.</p>
<h3>Blocklist:</h3>
<div>
<div id="blacklist">
</div>
<button id="add-blocker">Add new RegEx block rule</button>
</div>
<h3>Allowlist:</h3>
<div>
<div id="allowlist">
</div>
<button id="add-allower">Add new RegEx allow rule</button>
</div>
<p>Test the lists with an url:</p>
<form>
<input id="regex-test" type="text" placeholder="Test Url" class="width-100">
</form>
<script src="options.js"></script>
</body>
</html>