-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
96 lines (96 loc) · 1.99 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
<!DOCTYPE html>
<html>
<head><title>Options</title></head>
<style>
label {
display: block;
padding: 2px;
}
section {
padding:5px;
margin: 2px;
border: solid 2px;
}
</style>
<body>
<section>
<h3>Media Overlay</h3>
<hr/>
<label>
<input type="checkbox" id="mediaoverlay_Enabled">
enabled
</label>
<label>
<input type="checkbox" id="mediaoverlay_WebmMuted">
mute webms
</label>
<label>
<input type="number" step="0.01" min="0" max="1" id="mediaoverlay_WebmVolume">
webm audio volume (1 = 100%, 0.5 = 50%)
</label>
<label>
<input type="checkbox" id="mediaoverlay_WebmLoop">
loop webms
</label>
<label>
<input type="checkbox" id="mediaoverlay_ScrollToAfterExit">
scroll to last viewed item after exiting overlay
</label>
<label>
<input type="text" id="mediaoverlay_AllowedExtensions">
allowed extensions
</label>
</section>
<section>
<h3>References</h3>
<hr/>
<label>
<input type="checkbox" id="references_Enabled">
enabled
</label>
<label>
<input type="checkbox" id="references_ReferenceLinksEnabled">
show references to a post in its header as links
</label>
<label>
<input type="checkbox" id="references_HoverOverlayEnabled">
show preview overlay of post when hovering a reference
</label>
</section>
<section>
<h3>Clickable Links</h3>
<hr/>
<label>
<input type="checkbox" id="clickablelinks_Enabled">
enabled
</label>
<label>
<input type="checkbox" id="clickablelinks_SameWindow">
open in same window
</label>
<label>
<input type="text" id="clickablelinks_Regex">
regex used to find links
</label>
</section>
<section>
<h3>Button</h3>
<hr/>
<label>
<input type="checkbox" id="button_Enabled">
enabled
</label>
<label>
<select id="button_Board">
<option value="b">/b/</option>
<option value="int">/int/</option>
</select>
the board to open when clicking on the button
</label>
</section>
<div id="status"></div>
<button id="save">Save</button>
<button id="restore">Restore</button>
<script src="options.min.js"></script>
</body>
</html>