From 7686e56c00c724ad6f9e133134787e2cd083b062 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 27 Dec 2019 18:58:11 -0500 Subject: Move display templates into a single file --- ext/mixed/display-templates.html | 81 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 ext/mixed/display-templates.html (limited to 'ext/mixed/display-templates.html') diff --git a/ext/mixed/display-templates.html b/ext/mixed/display-templates.html new file mode 100644 index 00000000..01cfeffc --- /dev/null +++ b/ext/mixed/display-templates.html @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3 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(-) (limited to 'ext/mixed/display-templates.html') 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 @@
    
     
    -