Revert "Fix this return statement causing AMO's validation to fail"

Manually reverted the change in 74463c6170f35b4c638e87ed20a281edaded70df
This commit is contained in:
Tim "timmyRS" Speckhals 2020-04-07 18:47:46 +02:00
parent 3e414e5f1b
commit 6d911e79ae

View File

@ -651,9 +651,11 @@ domainBypass("universal-bypass.org",()=>{
window.universalBypassExternalVersion="UNIVERSAL_BYPASS_EXTERNAL_VERSION"
window.universalBypassInjectionVersion="UNIVERSAL_BYPASS_INJECTION_VERSION"
})
if(!bypassed)
if(bypassed)
{
ensureDomLoaded(()=>{
return
}
ensureDomLoaded(()=>{
if(ignoreCrowdBypass)
{
document.querySelectorAll("form[action]").forEach(e=>e.action+="#ignoreCrowdBypass")
@ -2052,5 +2054,4 @@ if(!bypassed)
//Insertion point for bypasses detecting certain DOM elements which may appear up to 10 seconds after page load. Bypasses here will no longer need to call ensureDomLoaded.
},100)
setTimeout(()=>clearInterval(dT),10000)
})
}
})