Add anjay.info bypass

anjay.info has #showlink too, so it's better to replace ifElement #showlink to .rurasafesubmit
to avoid ChikaRuraSafe interference with other safelink plugins
This commit is contained in:
anaklayangan 2019-08-24 19:57:07 +07:00 committed by GitHub
parent cdb3fd2b88
commit 7aa3b2c889
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -867,12 +867,12 @@ if(document instanceof HTMLDocument)
})
if(typeof changeLink=="function")
{
ifElement("#showlink",s=>{
ifElement(".rurasafectrl",()=>{
let _open=window.open
window.open=l=>_open(l,"_self")
if(typeof $!="undefined")
{
$(document).ajaxStop(()=>s.click())
$(document).ajaxStop(()=>document.querySelector("#showlink").click())
}
ifElement("a[href='#generate']",a=>{
a.click()
@ -884,6 +884,7 @@ if(document instanceof HTMLDocument)
||document.getElementsByTagName("style='margin-top:").length
||document.querySelector(".Visit_Link")//yametesenpai.xyz
||document.getElementById("daplong")//converthinks.xyz
||document.querySelector(".eastsafelink")//anjay.info
)
{
clearInterval(cLT)