Improve lompat.in bypass (closes #541)

This commit is contained in:
Tim "timmyRS" Speckhals 2019-10-28 18:16:25 +01:00
parent 5bdad45616
commit f3a095662a

View File

@ -461,6 +461,20 @@ brws.webRequest.onBeforeRequest.addListener(details=>{
"*://*.rikucan.com/?u=*"
]},["blocking"])
brws.webRequest.onBeforeRequest.addListener(details=>{
if(enabled)
{
let b64=details.url.substr(details.url.indexOf("?go=")+4).split("&")[0]
if(b64.substr(0,5)=="0OoL1")
{
b64="aHR0c"+b64.substr(5)
}
return getRedirect(atob(b64))
}
},{types:["main_frame"],urls:[
"*://*.lompat.in/?go=*"
]},["blocking"])
brws.webRequest.onBeforeRequest.addListener(details=>{
if(enabled)
{