-
Notifications
You must be signed in to change notification settings - Fork 6
/
options.html
64 lines (60 loc) · 5.42 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</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 />
<input type="radio" name="default_zone" id="default_zone_automatic" value="automatic"><label for="default_zone_automatic"><b>Automatic</b> - Automatically change zones based on how many unsafe images have been detected recently</label> <br />
<input type="radio" name="default_zone" id="default_zone_trusted" value="trusted"><label for="default_zone_trusted"><b>Trusted</b> - prefer blocking fewer safe images, but may let more unsafe ones slip through</label> <br />
<input type="radio" name="default_zone" id="default_zone_neutral" value="neutral" checked><label for="default_zone_neutral"><b>Neutral</b> - strike a balance between accidentally block safe images and letting unsafe ones through</label><br />
<input type="radio" name="default_zone" id="default_zone_untrusted" value="untrusted" checked><label for="default_zone_untrusted"><b>Untrusted</b> - prefer blocking unsafe content at the expense of blocking many safe images as well</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. <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 />
<input type="radio" name="on_off_shown" id="on_off_shown_yes" value="on_off_shown_yes"><label for="on_off_shown_yes">Yes</label>
<input type="radio" name="on_off_shown" id="on_off_shown_no" value="on_off_shown_no" checked><label for="on_off_shown_no">No</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 /> <br />
<input type="radio" name="is_video_blocking_disabled" id="is_video_blocking_disabled_no" value="is_video_blocking_disabled_no" checked><label for="is_video_blocking_disabled_no">Enabled</label>
<input type="radio" name="is_video_blocking_disabled" id="is_video_blocking_disabled_yes" value="is_video_blocking_disabled_yes"><label for="is_video_blocking_disabled_yes">Disabled</label><br />
<br />
<h4>Silent mode?</h4>
Instead of showing a blocked icon, instead choose a placeholder image. <br /> <br />
<input type="radio" name="is_silent_mode_enabled" id="is_silent_mode_enabled_yes" value="is_silent_mode_enabled_yes" checked><label for="is_silent_mode_enabled_yes">Enabled</label>
<input type="radio" name="is_silent_mode_enabled" id="is_silent_mode_enabled_no" value="is_silent_mode_enabled_no"><label for="is_silent_mode_enabled_no">Disabled</label><br />
<a href="silent_credits.html" target="_blank">View the image credits</a> <br />
<br />
<h4>Use Cloudflare's "1.1.1.1 for Families" DNS-based blocking?</h4>
<input type="radio" name="dns_blocking" id="dns_blocking_yes" value="dns_blocking_yes"><label for="dns_blocking_yes">Yes</label>
<input type="radio" name="dns_blocking" id="dns_blocking_no" value="dns_blocking_no" checked><label for="dns_blocking_no">No</label><br /><br />
Read <a href="https://blog.cloudflare.com/introducing-1-1-1-1-for-families/" target="_blank">Cloudflare's post about "1.1.1.1 for Families"</a> for more info.<br />
When enabled, this plugin will first check to see if the domain the image is coming from is a known adult content provider before doing scanning via AI.<br />
There are advantages of enabling DNS blocking as an additional check:<br />
<ul>
<li>All videos are checked because they are simply blocked by domain.</li>
<li>Similarly, provides a second check on images.</li>
<li>Done as a pre-check, so if it is blocked the request to get the image is cancelled and the slower AI doesn't need to run.</li>
</ul>
There are, however, some disadvantages:<br />
<ul>
<li>Requires a call to Cloudflare's servers with the hostname (e.g. "google.com") of items being checked from your browsing session.</li>
<li>Because blocking is performed based on hostname, it can sometimes block all media for a website with many types of content.</li>
</ul>
Please make the choice that is right for you! <br />
<br />
<h4>Which Tensorflow.js processing backend should be used? (Advanced option)</h4>
<input type="radio" name="backend_selection" id="backend_selection_webgl" value="webgl" checked><label for="backend_selection_webgl">WebGL only</label> <br />
<input type="radio" name="backend_selection" id="backend_selection_wasm" value="wasm"><label for="backend_selection_wasm">WASM only</label> <br />
<input type="radio" name="backend_selection" id="backend_selection_webgl_wasm" value="webgl_wasm"><label for="backend_selection_webgl_wasm">WebGL (primary) + WASM (secondary)</label> <br />
<input type="radio" name="backend_selection" id="backend_selection_wasm_webgl" value="wasm_webgl"><label for="backend_selection_wasm_webgl">WASM (primary) + WebGL (secondary)</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>