#160
This commit is contained in:
Tim Speckhals 2019-03-06 14:32:59 +01:00
parent aa4f934798
commit cb61b7c82d
2 changed files with 28 additions and 28 deletions

View File

@ -747,31 +747,27 @@ if(document instanceof HTMLDocument)
}
if(typeof changeLink=="function")
{
domainBypass("bagilagi.com",()=>{})//Not executing bypass here because it breaks the site. I'm pretty sure they're making sure you've actually waited in the backend.
if(!bypassed)
{
let cLT=setInterval(()=>{
if((document.querySelectorAll("img#pleasewait").length&&document.querySelector(".wait"))
||document.getElementById("showlink")
||document.getElementById("download")
||document.getElementsByTagName("style='margin-top:").length
||document.querySelector(".Visit_Link")//yametesenpai.xyz
||document.getElementById("daplong")//converthinks.xyz
)
let cLT=setInterval(()=>{
if((document.querySelectorAll("img#pleasewait").length&&document.querySelector(".wait"))
||document.getElementById("showlink")
||document.getElementById("download")
||document.getElementsByTagName("style='margin-top:").length
||document.querySelector(".Visit_Link")//yametesenpai.xyz
||document.getElementById("daplong")//converthinks.xyz
)
{
clearInterval(cLT)
window.open=safelyNavigate
if(typeof changeLink=="function")
{
clearInterval(cLT)
window.open=safelyNavigate
if(typeof changeLink=="function")
{
changeLink()
}
else if(document.getElementById("link-download"))//hightech.web.id
{
safelyNavigate(document.getElementById("link-download").href)
}
changeLink()
}
},100)
}
else if(document.getElementById("link-download"))//hightech.web.id
{
safelyNavigate(document.getElementById("link-download").href)
}
}
},100)
}
//Safelink Wordpress Plugin
if(document.querySelector(".wp-safelink-button"))
@ -1134,9 +1130,13 @@ if(document instanceof HTMLDocument)
{
domain=domain.substr(4)
}
dO.observe(document.documentElement,{attributes:true})
script.innerHTML+="\n"+res.userscript+"\n})()"
script=document.documentElement.appendChild(script)
setTimeout(()=>document.documentElement.removeChild(script),10)
//Not doing anything on sites which break if Universal Bypass runs:
if(["bagilagi.com","api.rurafs.me","drivenime.com"].indexOf(domain)<0)
{
dO.observe(document.documentElement,{attributes:true})
script.innerHTML+="\n"+res.userscript+"\n})()"
script=document.documentElement.appendChild(script)
setTimeout(()=>document.documentElement.removeChild(script),10)
}
})
}

View File

@ -12,7 +12,7 @@
"name": "Universal Bypass",
"description": "__MSG_appDesc__",
"homepage_url": "https://universal-bypass.org/",
"version": "10.2.1",
"version": "10.2.2",
"author": "Tim \"timmyRS\" Speckhals",
"permissions": [
"storage",