Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
jspenguin2017 committed May 7, 2018
1 parent d8f6c56 commit ec57082
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/content/rules-sticky.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand All @@ -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();
}
});
}

0 comments on commit ec57082

Please sign in to comment.