mirror of https://github.com/gorhill/uBlock.git
minor change in how filter list(s) are rendered
This commit is contained in:
parent
e247f28b73
commit
1b78be4b7c
|
@ -552,13 +552,17 @@
|
||||||
"description": "Firefox-specific: appears as 'uBlock₀ (off)'"
|
"description": "Firefox-specific: appears as 'uBlock₀ (off)'"
|
||||||
},
|
},
|
||||||
"docblockedPrompt1": {
|
"docblockedPrompt1": {
|
||||||
"message": "uBlock₀ has prevented the following page from loading:",
|
"message": "uBlock Origin has prevented the following page from loading:",
|
||||||
"description": "English: uBlock₀ has prevented the following page from loading:"
|
"description": "English: uBlock₀ has prevented the following page from loading:"
|
||||||
},
|
},
|
||||||
"docblockedPrompt2": {
|
"docblockedPrompt2": {
|
||||||
"message": "Because of the following filter",
|
"message": "Because of the following filter",
|
||||||
"description": "English: Because of the following filter"
|
"description": "English: Because of the following filter"
|
||||||
},
|
},
|
||||||
|
"docblockedFoundIn": {
|
||||||
|
"message": "Found in:",
|
||||||
|
"description": "English: List of filter list names follows"
|
||||||
|
},
|
||||||
"docblockedBack": {
|
"docblockedBack": {
|
||||||
"message": "Go back",
|
"message": "Go back",
|
||||||
"description": "English: Go back"
|
"description": "English: Go back"
|
||||||
|
|
|
@ -75,7 +75,7 @@ select {
|
||||||
<div>
|
<div>
|
||||||
<p data-i18n="docblockedPrompt2"></p>
|
<p data-i18n="docblockedPrompt2"></p>
|
||||||
<p id="why" class="code"></p><!--
|
<p id="why" class="code"></p><!--
|
||||||
--><span id="whyex" style="display: none;"><br>• <span></span> •</span>
|
--><span id="whyex" style="display: none;"><br><span data-i18n="docblockedFoundIn"></span> <span></span></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -59,7 +59,7 @@ var details = {};
|
||||||
if ( Array.isArray(lists) === false || lists.length === 0 ) {
|
if ( Array.isArray(lists) === false || lists.length === 0 ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var parent = uDom.nodeFromSelector('#whyex > span');
|
var parent = uDom.nodeFromSelector('#whyex > span:nth-of-type(2)');
|
||||||
var separator = '';
|
var separator = '';
|
||||||
var entry, url, node;
|
var entry, url, node;
|
||||||
for ( var i = 0; i < lists.length; i++ ) {
|
for ( var i = 0; i < lists.length; i++ ) {
|
||||||
|
|
Loading…
Reference in New Issue