Add koenime.com bypass (closes #1075)

This commit is contained in:
ikancupang 2020-03-27 15:14:55 +07:00 committed by GitHub
parent 93c54fbb5c
commit b419f1c70e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -346,6 +346,10 @@ for(let key in forced_safelink)
ODP(window,"soralink",{
get:()=>{}
})
//Adtival
ODP(window,"adtival_base64_encode",{
get:()=>{}
})
//Shorte.st
transparentProperty("reqwest",r=>(typeof app!="undefined"&&document.querySelector(".skip-add-container .first-img[alt='Shorte.st']"))?a=>{
if(a.type==="jsonp")
@ -1476,6 +1480,10 @@ ensureDomLoaded(()=>{
}
a.href+="#bypassClipboard="+qe.textContent.replace(/[^\w]/g,"").toLowerCase()+res.textContent.replace(/[^\w]/g,"").toLowerCase()+ver.textContent.replace(/[^\w]/g,"").toLowerCase()+a.textContent.replace(/[^\w]/g,"").toLowerCase()
}))
domainBypass("koenime.com",()=>document.querySelectorAll("a[href^='https://apasih.pw/?id=']").forEach(a=>{
let qe=a.closest("ul").previousElementSibling,ep=a.closest(".dlmn321").previousElementSibling
a.href+="#bypassClipboard="+location.pathname.replace(/[^\w]/g,"")+qe.textContent.replace(/[^\w]/g,"").toLowerCase()+ep.textContent.replace(/[^\w]/g,"").toLowerCase()+a.textContent.replace(/[^\w]/g,"").toLowerCase()
}))
if(document.querySelector(".sorasubmit"))
{
document.querySelector(".sorasubmit").click()