summaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-11-09 13:01:21 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-11-09 13:01:21 +0200
commit40c8268fd6b32c9918fbebd374723cd17f2e19aa (patch)
treea8bf88d760a99d1a0ef61b5542f7cc589a49bf8b /ext/fg
parentcf0bb0a9e22bc5dee47d9a4d8b844c0ca67c0269 (diff)
always disable scanning IME checkbox label
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/js/popup-nested.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/fg/js/popup-nested.js b/ext/fg/js/popup-nested.js
index 1b5ab8f7..31cb1cda 100644
--- a/ext/fg/js/popup-nested.js
+++ b/ext/fg/js/popup-nested.js
@@ -33,7 +33,10 @@ async function popupNestedInitialize(id, depth, parentFrameId, url) {
return;
}
- const ignoreNodes = options.scanning.enableOnPopupExpressions ? [] : ['.expression-scan-toggle', '.expression-scan-toggle *'];
+ const ignoreNodes = ['.scan-disable', '.scan-disable *'];
+ if (!options.scanning.enableOnPopupExpressions) {
+ ignoreNodes.push('.expression-scan-toggle', '.expression-scan-toggle *');
+ }
window.frontendInitializationData = {id, depth, parentFrameId, ignoreNodes, url, proxy: true};