From f969b5b8a9fa3b77bfc3bbb13830913c620c48da Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Thu, 16 Jan 2020 19:35:19 -0500 Subject: Update popup scan ignore selectors --- ext/bg/js/search-frontend.js | 2 +- ext/fg/js/popup-nested.js | 2 +- ext/mixed/display-templates.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/bg/js/search-frontend.js b/ext/bg/js/search-frontend.js index bd2ddb50..e453ccef 100644 --- a/ext/bg/js/search-frontend.js +++ b/ext/bg/js/search-frontend.js @@ -27,7 +27,7 @@ async function searchFrontendSetup() { const ignoreNodes = ['.scan-disable', '.scan-disable *']; if (!options.scanning.enableOnPopupExpressions) { - ignoreNodes.push('.term-expression-text', '.term-expression-text *'); + ignoreNodes.push('.source-text', '.source-text *'); } window.frontendInitializationData = {depth: 1, ignoreNodes, proxy: false}; diff --git a/ext/fg/js/popup-nested.js b/ext/fg/js/popup-nested.js index e0e52cb7..3f3c945e 100644 --- a/ext/fg/js/popup-nested.js +++ b/ext/fg/js/popup-nested.js @@ -35,7 +35,7 @@ async function popupNestedInitialize(id, depth, parentFrameId, url) { const ignoreNodes = ['.scan-disable', '.scan-disable *']; if (!options.scanning.enableOnPopupExpressions) { - ignoreNodes.push('.term-expression-text', '.term-expression-text *'); + ignoreNodes.push('.source-text', '.source-text *'); } window.frontendInitializationData = {id, depth, parentFrameId, ignoreNodes, url, proxy: true}; diff --git a/ext/mixed/display-templates.html b/ext/mixed/display-templates.html index 01cfeffc..62f3c69c 100644 --- a/ext/mixed/display-templates.html +++ b/ext/mixed/display-templates.html @@ -20,7 +20,7 @@
    
     
    -