Improve Safelink Wordpress Plugin bypass (fixes #443)

This commit is contained in:
Tim "timmyRS" Speckhals 2019-09-14 10:20:03 +02:00
parent 07cddf32f7
commit cd6a239ed9

View File

@ -982,11 +982,7 @@ if(document instanceof HTMLDocument)
document.querySelector("form#show > [type='submit']").click()
}
//Safelink Wordpress Plugin
ifElement(".wpsafe-bottom > #wpsafe-link1 > a[href*='/r/?']",a=>{
safelyNavigate(new URL(a.href).search.replace("?",""))
finish()
})
ifElement(".wpsafe-bottom > #wpsafe-linkq1 > a[href]",a=>{
ifElement(".wpsafe-bottom > [id^='wpsafe-lin'] > a[href]",a=>{
safelyNavigate(a.href)
finish()
})