Improve pahe.in/me bypass

some links still use "?id="
for example: https://pahe.in/sonic-the-hedgehog-2020/
This commit is contained in:
ikancupang 2020-03-23 09:23:23 +07:00 committed by GitHub
parent cb4163e0e5
commit dc3d5b4c58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1333,7 +1333,7 @@ ensureDomLoaded(()=>{
})) }))
/*jshint ignore:end*/ /*jshint ignore:end*/
} }
domainBypass(/pahe\.(in|me)/,()=>document.querySelectorAll("a.shortc-button.small[href*='?c4871c3e35=']").forEach(a=>{ domainBypass(/pahe\.(in|me)/,()=>document.querySelectorAll("a.shortc-button.small[href*='?c4871c3e35='], a.shortc-button.small[href*='?id=']").forEach(a=>{
let qe=a.previousElementSibling let qe=a.previousElementSibling
while(qe&&qe.tagName!="B"&&qe.tagName!="STRONG") while(qe&&qe.tagName!="B"&&qe.tagName!="STRONG")
{ {