Update popup scan ignore selectors
This commit is contained in:
parent
62da7ec5cc
commit
f969b5b8a9
@ -27,7 +27,7 @@ async function searchFrontendSetup() {
|
|||||||
|
|
||||||
const ignoreNodes = ['.scan-disable', '.scan-disable *'];
|
const ignoreNodes = ['.scan-disable', '.scan-disable *'];
|
||||||
if (!options.scanning.enableOnPopupExpressions) {
|
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};
|
window.frontendInitializationData = {depth: 1, ignoreNodes, proxy: false};
|
||||||
|
@ -35,7 +35,7 @@ async function popupNestedInitialize(id, depth, parentFrameId, url) {
|
|||||||
|
|
||||||
const ignoreNodes = ['.scan-disable', '.scan-disable *'];
|
const ignoreNodes = ['.scan-disable', '.scan-disable *'];
|
||||||
if (!options.scanning.enableOnPopupExpressions) {
|
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};
|
window.frontendInitializationData = {id, depth, parentFrameId, ignoreNodes, url, proxy: true};
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<div class="term-definition-container"><ol class="term-definition-list"></ol></div>
|
<div class="term-definition-container"><ol class="term-definition-list"></ol></div>
|
||||||
<pre class="debug-info"></pre>
|
<pre class="debug-info"></pre>
|
||||||
</div></template>
|
</div></template>
|
||||||
<template id="term-expression-template"><div class="term-expression"><span class="term-expression-text"></span><div class="term-expression-details">
|
<template id="term-expression-template"><div class="term-expression"><span class="term-expression-text source-text"></span><div class="term-expression-details">
|
||||||
<button class="action-button action-play-audio"><img src="/mixed/img/play-audio.svg" class="icon-image" title="Play audio" alt></button>
|
<button class="action-button action-play-audio"><img src="/mixed/img/play-audio.svg" class="icon-image" title="Play audio" alt></button>
|
||||||
<div class="tags tag-list"></div>
|
<div class="tags tag-list"></div>
|
||||||
<div class="frequencies tag-list"></div>
|
<div class="frequencies tag-list"></div>
|
||||||
@ -43,7 +43,7 @@
|
|||||||
<button class="action-button action-add-note pending disabled" data-mode="kanji"><img src="/mixed/img/add-term-kanji.svg" class="icon-image" title="Add Kanji (Alt + K)" alt></button>
|
<button class="action-button action-add-note pending disabled" data-mode="kanji"><img src="/mixed/img/add-term-kanji.svg" class="icon-image" title="Add Kanji (Alt + K)" alt></button>
|
||||||
<span class="action-button action-current-indicator"><img src="/mixed/img/entry-current.svg" class="icon-image current" title="Current entry (Alt + Up/Down/Home/End/PgUp/PgDn)" alt></span>
|
<span class="action-button action-current-indicator"><img src="/mixed/img/entry-current.svg" class="icon-image current" title="Current entry (Alt + Up/Down/Home/End/PgUp/PgDn)" alt></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="kanji-glyph"></div>
|
<div class="kanji-glyph source-text"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="frequencies"></div>
|
<div class="frequencies"></div>
|
||||||
|
Loading…
Reference in New Issue
Block a user