Improve link.tl bypass

This commit is contained in:
Tim "timmyRS" Speckhals 2019-12-16 12:08:52 +01:00
parent f06a3af589
commit 639085ca4a

View File

@ -443,21 +443,7 @@ if(document instanceof HTMLDocument)
crowdPath(location.hash.substr(1)) crowdPath(location.hash.substr(1))
crowdBypass() crowdBypass()
}) })
domainBypass("link.tl",()=>{ domainBypass("lnk.news",()=>ifElement("#skip_form",f=>goToUrl(),ifElement("#display_go_form",f=>f.submit())))
if(location.host=="lt10.link.tl")
{
ensureDomLoaded(()=>{
if(typeof goToUrl=="function")
{
goToUrl()
}
})
}
else
{
location.host="lt10.link.tl"
}
})
hrefBypass(/uiz\\.io\\/go/,()=>{ hrefBypass(/uiz\\.io\\/go/,()=>{
Object.freeze(location) Object.freeze(location)
const regex=/.*window\\.location\\.href = "(http[^"]+)";.*/ const regex=/.*window\\.location\\.href = "(http[^"]+)";.*/