From ec57082a26ad35126ccc0db3f1748e153b1ed022 Mon Sep 17 00:00:00 2001 From: jspenguin2017 Date: Sun, 6 May 2018 19:32:30 -0600 Subject: [PATCH] No commit message --- src/content/rules-sticky.js | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/content/rules-sticky.js b/src/content/rules-sticky.js index 244a6c9841..786d8df492 100644 --- a/src/content/rules-sticky.js +++ b/src/content/rules-sticky.js @@ -3,15 +3,6 @@ */ "use strict"; -if (/^anime(?:dao|take|-update)\d*?\.[^.]+$/.test(document.domain)) { - // These websites use rolling domains to dodge filter rules - a.err(); - a.beforeScript((script) => { - if (script.textContent && script.textContent.includes("adblockDetect")) { - script.remove(); - } - }); -} if (a.domCmp(["debridnet.com"])) { const re = /\.height\(\)/g; a.beforeScript((script) => { @@ -25,3 +16,14 @@ if (a.domCmp(["debridnet.com"])) { document.documentElement.append(s); } } + +// TODO - Syncing to uAssets +if (/^anime(?:dao|take|-update)\d*?\.[^.]+$/.test(document.domain)) { + // These websites use rolling domains to dodge filter rules + a.err(); + a.beforeScript((script) => { + if (script.textContent && script.textContent.includes("adblockDetect")) { + script.remove(); + } + }); +}