-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathoptions.html
More file actions
99 lines (95 loc) · 6.18 KB
/
options.html
File metadata and controls
99 lines (95 loc) · 6.18 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
:root {
color-scheme: light dark;
}
html, body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%;
}
body {
font-family: "Segoe UI", Tahoma, sans-serif;
background: #f6f7fb;
color: #1f2a44;
line-height: 1.5;
overflow-x: hidden;
}
form {
max-width: 720px;
width: 100%;
margin: 0 auto;
padding: 12px;
background: #ffffff;
border-radius: 12px;
border: 1px solid rgba(0, 0, 0, 0.08);
box-sizing: border-box;
}
h4 {
margin: 12px 0 6px;
}
label {
margin: 2px 0;
}
.radio-option {
display: flex;
align-items: flex-start;
gap: 6px;
}
.radio-option.inline {
display: inline-flex;
}
input[type="radio"] {
margin-right: 6px;
}
a {
color: #2f80ed;
}
</style>
</head>
<body>
<form>
<h4>Which zone should be the default?</h4>
This addon uses the concept of "zones" to indicate how strictly it filters images. <br /> <br />
<label class="radio-option" for="default_zone_automatic"><input type="radio" name="default_zone" id="default_zone_automatic" value="automatic"><span><b>Automatic</b> - Automatically change zones based on how many unsafe images have been detected recently</span></label> <br />
<label class="radio-option" for="default_zone_trusted"><input type="radio" name="default_zone" id="default_zone_trusted" value="trusted"><span><b>Trusted</b> - prefer blocking fewer safe images, but may let more unsafe ones slip through</span></label> <br />
<label class="radio-option" for="default_zone_neutral"><input type="radio" name="default_zone" id="default_zone_neutral" value="neutral" checked><span><b>Neutral</b> - strike a balance between accidentally block safe images and letting unsafe ones through</span></label><br />
<label class="radio-option" for="default_zone_untrusted"><input type="radio" name="default_zone" id="default_zone_untrusted" value="untrusted" checked><span><b>Untrusted</b> - prefer blocking unsafe content at the expense of blocking many safe images as well</span></label><br />
<br />
<h4>Show an on/off switch on the main menu?</h4>
Add a switch to turn filtering on and off quickly while browsing. This also controls the Reveal Blocked Image menu visibility. <b>Note:</b> already-blocked images will only reappear when the cache is cleared - hit shift+refresh on the page to reload it fully.<br /> <br />
<label class="radio-option inline" for="on_off_shown_yes"><input type="radio" name="on_off_shown" id="on_off_shown_yes" value="on_off_shown_yes"><span>Yes</span></label>
<label class="radio-option inline" for="on_off_shown_no"><input type="radio" name="on_off_shown" id="on_off_shown_no" value="on_off_shown_no" checked><span>No</span></label><br />
<br />
<h4>Video blocking?</h4>
Video blocking requires quite a bit of processing, and the accuracy is currently lower due to technical limitations. <br />
Additionally, not all video sites are supported because video data is delivered to the browser in many ways.<br /> <br />
<label class="radio-option inline" for="video_blocking_mode_enabled"><input type="radio" name="video_blocking_mode" id="video_blocking_mode_enabled" value="enabled"><span>Enabled</span></label>
<label class="radio-option inline" for="video_blocking_mode_quick"><input type="radio" name="video_blocking_mode" id="video_blocking_mode_quick" value="quick" checked><span>Quick Scan</span></label>
<label class="radio-option inline" for="video_blocking_mode_disabled"><input type="radio" name="video_blocking_mode" id="video_blocking_mode_disabled" value="disabled"><span>Disabled</span></label><br />
<br />
Quick Scan will scan only a small selection of frames, but provides a lighter, balanced experience and is the default behavior. <br />
<h4>Silent mode?</h4>
Instead of showing a blocked icon, instead choose a placeholder image. <br /> <br />
<label class="radio-option inline" for="is_silent_mode_enabled_yes"><input type="radio" name="is_silent_mode_enabled" id="is_silent_mode_enabled_yes" value="is_silent_mode_enabled_yes" checked><span>Enabled</span></label>
<label class="radio-option inline" for="is_silent_mode_enabled_no"><input type="radio" name="is_silent_mode_enabled" id="is_silent_mode_enabled_no" value="is_silent_mode_enabled_no"><span>Disabled</span></label><br />
<br />
<a href="silent_collections.html" target="_blank">Manage silent image collections >> </a> <br />
<br />
<h4>Which Tensorflow.js processing backend should be used? (Advanced option)</h4>
<label class="radio-option" for="backend_selection_webgl"><input type="radio" name="backend_selection" id="backend_selection_webgl" value="webgl" checked><span>WebGL only</span></label> <br />
<label class="radio-option" for="backend_selection_inprocwebgl"><input type="radio" name="backend_selection" id="backend_selection_inprocwebgl" value="inprocwebgl"><span>Background.js WebGL, fallback to WebGL (a bit slower, tries to avoid hidden tab, use for compatibility)</span></label> <br />
<label class="radio-option" for="backend_selection_wasm"><input type="radio" name="backend_selection" id="backend_selection_wasm" value="wasm"><span>WASM only</span></label> <br />
<label class="radio-option" for="backend_selection_webgl_wasm"><input type="radio" name="backend_selection" id="backend_selection_webgl_wasm" value="webgl_wasm"><span>WebGL (primary) + WASM (secondary)</span></label> <br />
<label class="radio-option" for="backend_selection_wasm_webgl"><input type="radio" name="backend_selection" id="backend_selection_wasm_webgl" value="wasm_webgl"><span>WASM (primary) + WebGL (secondary)</span></label> <br />
<br />
<a id="feedback" href="https://docs.google.com/forms/d/e/1FAIpQLSe5QJvFmXXH8-kWPgz3Td1xLGuje_-2K-oZt4pLKCuOiyIhIg/viewform?usp=sf_link">Feedback?</a> <br />
<a id="github" href="https://github.com/wingman-jr-addon/wingman_jr/issues">Are you a developer? File issues/requests on GitHub</a>
</form>
<script src="options.js"></script>
</body>
</html>