Improve Safelink Wordpress Plugin bypass (fixes #366)

This commit is contained in:
Tim "timmyRS" Speckhals 2019-08-19 17:45:45 +02:00
parent 59ef58812f
commit 924379264c

View File

@ -893,7 +893,7 @@ if(document instanceof HTMLDocument)
document.querySelector("form#show > [type='submit']").click() document.querySelector("form#show > [type='submit']").click()
} }
//Safelink Wordpress Plugin //Safelink Wordpress Plugin
ifElement("#wpsafe-linksz > a[href*='?safelink_redirect='], #wpsafegenerate > #wpsafe-linkio > a[href*='?safelink_redirect=']",a=>{ ifElement("a[href*='?safelink_redirect=']",a=>{
safelyNavigate(new URL(a.href).searchParams.get("safelink_redirect")) safelyNavigate(new URL(a.href).searchParams.get("safelink_redirect"))
finish() finish()
}) })