diff options
Diffstat (limited to 'ext/fg/js/popup-nested.js')
| -rw-r--r-- | ext/fg/js/popup-nested.js | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/fg/js/popup-nested.js b/ext/fg/js/popup-nested.js index ad235cc6..e0376bb2 100644 --- a/ext/fg/js/popup-nested.js +++ b/ext/fg/js/popup-nested.js @@ -32,7 +32,9 @@ async function popupNestedInitialize(id, depth, parentFrameId) {          return;      } -    window.frontendInitializationData = {id, depth, parentFrameId}; +    const ignoreNodes = options.scanning.enableOnPopupExpressions ? [] : [ '.expression', '.expression *' ]; + +    window.frontendInitializationData = {id, depth, parentFrameId, ignoreNodes};      const scriptSrcs = [          '/fg/js/frontend-api-sender.js',  |