Add BRCheats bypass

This commit is contained in:
Caillou 2020-08-02 13:54:12 -03:00 committed by GitHub
parent 10d24be8e4
commit 1b848c66a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1390,6 +1390,14 @@ ensureDomLoaded(()=>{
ifElement(".btn-captcha",b=>setTimeout(()=>b.parentNode.submit(),2000),()=>awaitElement("a#surl[href]:not(.disabled)",a=>safelyNavigate(a.href)))
})
})
domainBypass("tudofinanceiro.club", () => { // BRCheats Blocker for Downloads
awaitElement("a#linkarq[href]", a => {
safelyAssign(a.href)
})
awaitElement("a#botao2[href]", a => {
safelyAssign(a.href)
})
})
//Insertion point for domain-or-href-specific bypasses running after the DOM is loaded. Bypasses here will no longer need to call ensureDomLoaded.
if(bypassed)
{