From 1b78be4b7cd23a9a08a62ce1988ac219a178adb9 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sun, 14 Jun 2015 07:56:12 -0400 Subject: [PATCH] minor change in how filter list(s) are rendered --- src/_locales/en/messages.json | 6 +++++- src/document-blocked.html | 2 +- src/js/document-blocked.js | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json index 112ab8449..359154a41 100644 --- a/src/_locales/en/messages.json +++ b/src/_locales/en/messages.json @@ -552,13 +552,17 @@ "description": "Firefox-specific: appears as 'uBlock₀ (off)'" }, "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:" }, "docblockedPrompt2": { "message": "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": { "message": "Go back", "description": "English: Go back" diff --git a/src/document-blocked.html b/src/document-blocked.html index a687fec26..e66f7e69a 100644 --- a/src/document-blocked.html +++ b/src/document-blocked.html @@ -75,7 +75,7 @@ select {

+ -->
diff --git a/src/js/document-blocked.js b/src/js/document-blocked.js index 306bcd9b2..956b84853 100644 --- a/src/js/document-blocked.js +++ b/src/js/document-blocked.js @@ -59,7 +59,7 @@ var details = {}; if ( Array.isArray(lists) === false || lists.length === 0 ) { return; } - var parent = uDom.nodeFromSelector('#whyex > span'); + var parent = uDom.nodeFromSelector('#whyex > span:nth-of-type(2)'); var separator = ''; var entry, url, node; for ( var i = 0; i < lists.length; i++ ) {