Add safelinkgratis.info bypass (closes #793)

This commit is contained in:
Tim "timmyRS" Speckhals 2019-12-31 17:51:01 +01:00
parent 2560be1399
commit d83aceaa62

View File

@ -498,6 +498,16 @@ brws.webRequest.onBeforeRequest.addListener(details=>{
"*://*.bdzone.xyz/cheat.php?link=*"
]},["blocking"])
brws.webRequest.onBeforeRequest.addListener(details=>{
if(enabled)
{
console.log(details)
return getRedirect(decodeURIComponent(atob(details.url.substr(details.url.indexOf("?link=")+6))))
}
},{types:["main_frame"],urls:[
"*://*.safelinkgratis.info/*?link=*"
]},["blocking"])
brws.webRequest.onBeforeRequest.addListener(details=>{
if(enabled)
{