Add do2unlock.com bypass (fixes #234)

This commit is contained in:
Tim timmyRS Speckhals 2019-05-21 04:45:54 +02:00
parent 1265a5e0f5
commit ba779aeb36

View File

@ -760,6 +760,19 @@ if(document instanceof HTMLDocument)
domainBypass("imgtaxi.com",()=>{
document.querySelector("a.overlay_ad_link").click()
})
domainBypass("do2unlock.com",()=>{
let a=document.querySelector("a#locked_action_link[href^='/getlink/']")
if(a)
{
location.href="/redirect/"+a.getAttribute("href").substr(9)
return
}
a=document.querySelector("a#redirecting_counter[href]")
if(a)
{
safelyNavigate(a.href)
}
})
//Insertion point 2 — insert bypasses running after the DOM is loaded above this comment
if(bypassed)
{