Improve viid.su bypass

This commit is contained in:
Tim "timmyRS" Speckhals 2019-11-23 06:22:31 +01:00
parent 91dffc144f
commit 0ac3c4fa23

View File

@ -1285,14 +1285,10 @@ if(document instanceof HTMLDocument)
switch(t)
{
case"Viid.su":
{
let b=document.querySelector("#link-success-button[data-url]")
if(b)
{
safelyNavigate(b.getAttribute("data-url"))
return finish()
}
}
ifElement("button#link-success-button[data-url]",b=>{
location.href=b.getAttribute("data-url")
finish()
})
break;
case"shortadd : 302 Moved":