Fix h-gen.xyz detecting Universal Bypass (closes #994)
This commit is contained in:
parent
09796d3595
commit
c9934577e9
@ -792,7 +792,7 @@ brws.webRequest.onHeadersReceived.addListener(details=>{
|
||||
for(let i in details.responseHeaders)
|
||||
{
|
||||
let header=details.responseHeaders[i]
|
||||
if(header.name.toLowerCase()=="location"&&header.value.substr(0,30)=="https://h-gen.xyz/redirect?id=")
|
||||
if(header.name.toLowerCase()=="location"&&header.value.substr(0,18)=="https://h-gen.xyz/"&&header.value!="https://h-gen.xyz/")
|
||||
{
|
||||
return {redirectUrl:brws.runtime.getURL("html/before-navigate.html")+"?target="+encodeURIComponent(header.value)+"&referer="+details.url+"&safe_in=90"}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user