Fix anonym.to bypass (fixes #242)

This commit is contained in:
Tim timmyRS Speckhals 2019-05-28 21:08:24 +02:00
parent 6e2a46965e
commit 5cace8b0cb

View File

@ -222,7 +222,7 @@ brws.webRequest.onBeforeRequest.addListener(details=>{
let url=new URL(details.url)
if(url.search)
{
return getRedirect(url.search.substr(1))+url.hash
return getRedirect(url.search.substr(1)+url.hash)
}
}
},{types:["main_frame"],urls:["*://*.anonym.to/?*"]},["blocking"])