Improve Safelink Wordpress Plugin Bypass (fixes #291)

This commit is contained in:
Tim "timmyRS" Speckhals 2019-07-13 02:32:53 +02:00
parent 934d9d14c0
commit 8981061849

View File

@ -895,6 +895,10 @@ if(document instanceof HTMLDocument)
a.click()
})
}
if(a=document.querySelector("#wpsafegenerate > #wpsafe-linkio > a[href*='?safelink_redirect=']"))
{
safelyNavigate(new URL(a.href).searchParams.get("safelink_redirect"))
}
if(document.getElementById("wpsafe-generate")&&typeof wpsafegenerate=="function")
{
let a=document.querySelector("#wpsafegenerate > #wpsafe-link > a[href]")