From c5606e6e822d81bfb31cb94bdd168190a39b4dd2 Mon Sep 17 00:00:00 2001 From: jspenguin2017 Date: Sat, 29 Dec 2018 10:33:08 -0700 Subject: [PATCH] minor update --- src/content/rules-specific.js | 28 ++++++++++++++-------------- src/manifest.json | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/content/rules-specific.js b/src/content/rules-specific.js index ac142474ee..17348e9587 100644 --- a/src/content/rules-specific.js +++ b/src/content/rules-specific.js @@ -1,4 +1,4 @@ -// -------------------------------------------------------------------------- // +// --------------------------------------------------------------------------------------------- // // Nano Defender - An anti-adblock defuser // Copyright (C) 2016-2018 Nano Defender contributors @@ -16,15 +16,15 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -// -------------------------------------------------------------------------- // +// --------------------------------------------------------------------------------------------- // // Content rules for specific websites. -// -------------------------------------------------------------------------- // +// --------------------------------------------------------------------------------------------- // "use strict"; -// -------------------------------------------------------------------------- // +// --------------------------------------------------------------------------------------------- // // https://github.com/NanoMeow/QuickReports/issues/352 if (a.domCmp([ @@ -70,9 +70,10 @@ if ( a.loopbackXHR((ignored, url) => { const path = url.substring(url.lastIndexOf('/') + 1); if (path.startsWith("dmFkLnhtb")) { // vad.xml - return ` - -`; + return '\n' + + '\n' + + ''; } }); } @@ -84,7 +85,7 @@ if (a.domCmp(["linkneverdie.com"])) { }); } -// -------------------------------------------------------------------------- // +// --------------------------------------------------------------------------------------------- // if (a.domCmp(["catchcoin.pw", "irc-source.com", "dashcatch.xyz"])) { a.noAccess("adBlockDetected"); @@ -3012,13 +3013,12 @@ if (a.domCmp(["telerium.tv"])) { }); } -// -------------------------------------------------------------------------- // +// --------------------------------------------------------------------------------------------- // -// Nano Adblocker does not support UserCSS because it breaks DOM Inspector, -// duct tape it here +// Nano Adblocker does not support UserCSS because it breaks DOM Inspector, duct tape it here -// TODO - Convert to filter (or remove if already in uAssets) when minimum -// required version of Chrome can handle removing injected stylesheet +// TODO - Convert to filter (or remove if already in uAssets) when minimum required version of +// Chrome can handle removing injected stylesheet if (a.domCmp([ "hdblog.it", @@ -3048,4 +3048,4 @@ if (a.domCmp([ }); } -// -------------------------------------------------------------------------- // +// --------------------------------------------------------------------------------------------- // diff --git a/src/manifest.json b/src/manifest.json index 91c0ad9380..0a3219b4bd 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -54,7 +54,7 @@ "webRequest", "webRequestBlocking" ], - "version": "15.0.0.83", + "version": "15.0.0.84", "web_accessible_resources": [ "resources/*" ]