From ee4b900cc845ea6ce86e8bfdf6fbdf963c9db0d2 Mon Sep 17 00:00:00 2001 From: cloud <62519659+lem6ns@users.noreply.github.com> Date: Sun, 19 Sep 2021 11:33:00 -0600 Subject: [PATCH] unclean duit.cc bypass (resolve #35) --- src/js/injection_script.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/js/injection_script.js b/src/js/injection_script.js index 4fb5b61ff..c390f2d45 100644 --- a/src/js/injection_script.js +++ b/src/js/injection_script.js @@ -1755,6 +1755,15 @@ ensureDomLoaded(()=>{ safelyNavigate(location.origin + "?redir=" + atob(atob(atob(atob(Lnk))))) }) //Insertion point for domain-or-href-specific bypasses running after the DOM is loaded. Bypasses here will no longer need to call ensureDomLoaded. + domainBypass("duit.cc", () => { + ifElement("#download", download => { + download.firstChild.submit.click() + }) + ifElement(".btn-fast-download", button => { + button.click() + }) + if (location.pathname == "/getlink.php") setTimeout(()=>location.reload(), 1000) + }) domainBypass("animestc.xyz", () => { ifElement("#link-id", a => { fetch("https://protetor.animestc.xyz/api/link/" + a.getAttribute("value")).then(r=>r.json()).then(json=>{