forked from hpaolini/tinyFilter-chrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
140 lines (133 loc) · 4.64 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
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
<!--
Copyright:
Copyright (C) 2013 Hunter Paolini <me@hpaolini.com>
License:
This file is part of tinyFilter.
tinyFilter 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 2 of the License, or
(at your option) any later version.
tinyFilter 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 tinyFilter; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-->
<html>
<head>
<title>tinyFilter - Options</title>
<link rel="stylesheet" href="style.css" type="text/css"/>
<script type="text/javascript" src="2.0.0-crypto-sha256.js"></script>
<script type="text/javascript" src="options.js"></script>
</head>
<body>
<div style="width:510px;margin:0 auto;color:#aaa;">
<h1>tinyFilter</h1>
by <a href="https://github.com/hpaolini/tinyFilter-chrome">Hunter Paolini</a>
</div>
<div class="box">
<div class="header">General Settings</div>
<div class="settings">
<div style="float:right;position:relative;top:-2px">
<button id="btn_pass" disabled="true">Set Password</button>
</div>
<label><input type="checkbox" id="pwd_status"/> Enable Password Protection</label>
</div>
</div>
<div class="box">
<div class="header">Content Filter</div>
<div class="settings">
<div style="float:right;position:relative;top:-2px">
<button id="btn_advSettings">Advanced Settings</button>
</div>
<input id="cf_status" type="checkbox"/>Enable Content Filter<br/><br/>
<div id="adv_settings" class="advanced">
<label><input type="checkbox" id="adv_stop"/> Stop all traffic</label><br/>
<label><input type="checkbox" id="adv_reason"/> Show reason for blockage</label><br/>
<div>
<label>
Warning message:<br/>
<input type="text" id="adv_warning" class="wide"/>
</label>
</div>
<div>
<label>
Redirect blocked pages to:<br/>
<input type="text" id="adv_redirect" class="wide"/>
</label>
</div>
</div>
<div class="listbox">
<div class="listbox_head" id="lst_bs">
<span class="link" style="float:right">▾</span>
<b>Blocked Sites</b>
</div>
<div id="blocked_url"></div>
</div>
<div class="listbox">
<div class="listbox_head" id="lst_bk">
<span class="link" style="float:right">▾</span>
<b>Blocked Keywords</b>
</div>
<div id="blocked_word"></div>
</div>
<div class="listbox">
<div class="listbox_head" id="lst_ts">
<span class="link" style="float:right">▾</span>
<b>Trusted Sites</b>
</div>
<div id="trusted_url"></div>
</div>
<br/>
<form>
<input type="text" id="keyword_cf" maxlength="20"/>
<input type="button" id="add_cf" value="Add"/>
<label><input id="bu" type="radio" name="group1" value="0"/> Block Site</label>
<label><input id="bw" type="radio" name="group1" value="1"/> Block Keyword</label>
<label><input id="au" type="radio" name="group1" value="2"/> Trust Site</label>
</form>
</div>
</div>
<div class="box">
<div class="header">Profanity Filter</div>
<div class="settings">
<input id="pf_status" type="checkbox"/>Enable Profanity Filter<br/><br/>
<div class="listbox">
<div class="listbox_head" id="lst_pf">
<span class="link" style="float:right">▾</span>
<b>Profanity Filter</b>
</div>
<div id="profanity_word"></div>
</div>
<br/>
<form>
<input type="text" id="keyword_pf" maxlength="20"/>
<input type="button" id="add_pf" value="Add"/>
</form>
</div>
</div>
<div class="box">
<div class="header">List Subscription</div>
<div class="settings">
<div class="link" style="float:right;position:relative;top:-2px">
<button id="btn_generate">Generate Your List</button>
</div>
<label><input type="checkbox" id="ls_status"/> Enable List Subscription</label>
<br/><br/>
<input type="text" id="ls_url" class="wide"/>
</div>
</div>
<div id="action_buttons">
<div style="float:right">
<button id="btn_reset">Reset</button>
<button id="btn_save">Save</button>
</div>
<div id="status" style="visibility:hidden">
<img style="position:relative;top:4px;margin-right:4px" src="loader.gif" width="16" height="16">
Options Saved
</div>
</div>
</body>
</html>