-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathoptions.html
198 lines (186 loc) · 7.45 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<!DOCTYPE html>
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Auto Refresh Plus - Options</title>
<link href="./css/options.css" rel="stylesheet" type="text/css">
</head>
<body>
<header>
<table style="width: 100%" cellpadding="0" cellspacing="0">
<tbody><tr>
<td><img id="icon" alt="" height="32" src="Icon/icon-32.png" width="32"><h1 id="head1">Auto Refresh <span>Plus</span> <span class="options-text"> # Options</span></h1></td>
<td></td>
</tr>
</tbody></table>
<style>
fieldset {
margin: 50px;
right:20px;
-webkit-border-radius: 5px;
}
</style>
</header>
<nav>
<ul id="tabs">
<li><a id="sel1" href="#" class="selected"><span id="settings">Settings</span></a></li>
</ul>
</nav>
<section>
<div id="tab1" class="tabContent">
<div class="group">
<table style="width: 100%; height: 40px;" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td colspan="3"><h2>General Settings</h2></td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td width="180px">
<label for="default_time">Default Time Interval: </label>
</td>
<td><input type="number" size="4" value="12" min="0" max="9999" id="default_time"> <label for="default_time">seconds</label></td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td width="180px">
<label for="default_time">Enable Random Interval: </label>
</td>
<td><input type="checkbox" name="randomTime" id="randomTime"></td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr><td>How to: <a id="incognito" href="chrome://extensions/?id=oilipfekkmncanaajkapbpancpelijih" target="_blank">Allow in incognito</a></td></tr>
</tbody></table>
</div>
<div class="group">
<table style="width: 100%; height: 35px;" cellpadding="0" cellspacing="0">
<tbody>
<tr><td colspan="3"><h2>Auto Start</h2></td></tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td width="180px">
<label for="autostart">Enable This Feature:</label>
</td>
<td style="text-align:left;"><input type="checkbox" name="autostart" id="autostart"></td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td width="180px">
<label for="pdurl">Auto Start URL:</label>
</td>
<td style="text-align:left;"><input type="text" name="asurl" id="asurl" size="80" value="" placeholder="Automatically start refreshing when this URL is opened (e.g. www.google.com)"></td>
</tr>
</tbody></table>
</div>
<div class="group">
<table style="width: 100%; height: 35px;" cellpadding="0" cellspacing="0">
<tbody>
<tr><td colspan="3"><h2>Refresh Predefined Page</h2></td></tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td width="180px">
<label for="pdcheck">Enable This Feature:</label>
</td>
<td style="text-align:left;"><input type="checkbox" name="pdcheck" id="pdcheck" ></td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td width="180px">
<label for="pdurl">Predefined URL:</label>
</td>
<td style="text-align:left;"><input type="text" name="pdurl" id="pdurl" size="80" value="" placeholder="Refresh this URL instead of the current tab's URL (e.g. www.google.com)"></td>
</tr>
</tbody></table>
</div>
<div class="group">
<table style="width: 100%; height: 35px;" cellpadding="0" cellspacing="0">
<tbody>
<tr><td colspan="3"><h2>Start Timer</h2></td></tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td width="180px">
<label for="timercheck">Enable This Feature:</label>
</td>
<td style="text-align:left;"><input type="checkbox" name="timercheck" id="timercheck"></td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td>
<label>Timer Mode: </label>
</td>
<td class="list">
<input type="radio" id="timer01" name="timerR" checked><label for="timer01"> Countdown Mode (e.g., 2 hours 1 minute 30 seconds)</label><br/>
<input type="radio" id="timer02" name="timerR"><label for="timer02"> Specific Time Mode (e.g., 2012-01-01 20:10:00)</label>
</td>
</tr>
</tbody></table>
</div>
<div class="group">
<table style="width: 100%; height: 35px;" cellpadding="0" cellspacing="0">
<tbody>
<tr><td colspan="3"><h2>Page Monitor</h2></td></tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td width="180px">
<label for="pmonitor">Enable This Feature:</label>
</td>
<td style="text-align:left;"><input type="checkbox" name="pmonitor" id="pmonitor"></td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td>
<label>Page Monitor Pattern: </label>
</td>
<td class="list">
<input type="radio" id="pagemr01" name="pagemr" checked><label for="pagemr01"> Popup Notification once it <b>FINDS</b> the target text (or regex)</label><br/>
<input type="radio" id="pagemr02" name="pagemr"><label for="pagemr02"> Popup Notification once it <b>LOSES</b> the target text (or regex)</label>
</td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td>
<span>Default Target Text:</span>
</td>
<td>
<input type="text" id="defaultPattern" placeholder="Default target text (or regex)">
</td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td>
<label>Play Sound: </label>
</td>
<td class="list">
<input type="radio" id="pmsound01" name="pmsound" class="pmsound" checked><label for="pmsound01"> Never play sound</label><br/>
<input type="radio" id="pmsound02" name="pmsound" class="pmsound"><label for="pmsound02"> Play sound candidate 1 (1 second)</label><br/>
<input type="radio" id="pmsound03" name="pmsound" class="pmsound"><label for="pmsound03"> Play sound candidate 2 (6 seconds)</label><br/>
<input type="radio" id="pmsound04" name="pmsound" class="pmsound"><label for="pmsound04"> Play sound from URL:</label> <input type="text" name="soundurl" id="soundurl" size="53" value="" placeholder="e.g. www.example.com/sound.mp3"><br/>
Volume: <input type="range" id="soundvolume" min="0" max="1" step="0.01"> <button id="test-play">Test Play</button>
</td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td>
<label>Sound Length: </label>
</td>
<td class="list">
<input type="radio" id="pm_sound_til_click" name="pm_sound_til" value="pm_sound_til_click"><label for="pm_sound_til_click"> Play until I click the notification box</label><br/>
<input type="radio" id="pm_sound_til_sound" name="pm_sound_til" value="pm_sound_til_sound"><label for="pm_sound_til_sound"> Play only once</label><br/>
<input type="radio" id="pm_sound_til_timeout" name="pm_sound_til" value="pm_sound_til_timeout"><label for="pm_sound_til_timeout"> Play for </label> <label><input type="text" id="pm_sound_timeout" value="5" style="width:20px;text-align:center; padding:1px 5px" /> seconds</label>
</td>
</tr>
<div id="html1" style="position:absolute; overflow:hidden; left:0px; top:0px; width:0px; height:0px; z-index:0">
<input type="checkbox" name="dontsupport" id="dontsupport" /></div>
</tbody></table>
</div>
<br/>
<div id="savecancelpanel">
<button id="save" class="bluebutton">Save</button>
<button id="cancel" class="bluebutton">Cancel</button>
</div>
</div>
</section>
<footer>
<span class="style_bold">Copyright 2015 - Malware free version by <a href="https://github.com/lomholdt/arp">Jonas Lomholdt</a></span>
</footer>
<script src="js/util.js"></script>
<script type="text/javascript" src="js/options.js"></script>
</body></html>