aboutsummaryrefslogtreecommitdiff
path: root/ext/settings.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-12-18 12:38:39 -0500
committerGitHub <noreply@github.com>2021-12-18 12:38:39 -0500
commit0e52a1f509155673d26a2a1ad00987389a05fea6 (patch)
tree726344c15a28e6d7a43be6df34fbe201d6fee018 /ext/settings.html
parent851014a404c6db2b07699382726fd10d028f4828 (diff)
Scanning wildcards (#2042)
* Add scanning.matchTypePrefix option * Update TextScanner to use matchTypePrefix option * Add setting * Update warning
Diffstat (limited to 'ext/settings.html')
-rw-r--r--ext/settings.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/ext/settings.html b/ext/settings.html
index 9309c889..6452a335 100644
--- a/ext/settings.html
+++ b/ext/settings.html
@@ -484,6 +484,32 @@
<label class="toggle"><input type="checkbox" data-setting="scanning.deepDomScan"><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label>
</div>
</div></div>
+ <div class="settings-item advanced-only">
+ <div class="settings-item-inner">
+ <div class="settings-item-left">
+ <div class="settings-item-label">Wildcard scanning</div>
+ <div class="settings-item-description">
+ Enable suffix wildcard when looking up scanned webpage text.
+ <a tabindex="0" class="more-toggle more-only" data-parent-distance="4">More&hellip;</a>
+ </div>
+ </div>
+ <div class="settings-item-right">
+ <label class="toggle"><input type="checkbox" data-setting="scanning.matchTypePrefix"><span class="toggle-body"><span class="toggle-track"></span><span class="toggle-knob"></span></span></label>
+ </div>
+ </div>
+ <div class="settings-item-children more" hidden>
+ <p>
+ Rather than searching for the source text exactly, the text will only be required to be a prefix of an existing term.
+ For example, scanning 読み will effectively search for 読み*, which may bring up additional results such as 読み方.
+ </p>
+ <p class="danger-text">
+ This will likely cause scanning and lookup to be slower, and the results may not be as relevant.
+ </p>
+ <p>
+ <a tabindex="0" class="more-toggle" data-parent-distance="3">Less&hellip;</a>
+ </p>
+ </div>
+ </div>
<div class="settings-item advanced-only"><div class="settings-item-inner settings-item-inner-wrappable">
<div class="settings-item-left">
<div class="settings-item-label">Text scan length</div>