aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/popup-nested.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg/js/popup-nested.js')
-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};