From fa99cfbd9d35f8c5f0f2bcfe98ddf5e02ee84fec Mon Sep 17 00:00:00 2001 From: ikancupang <58947597+ikancupang@users.noreply.github.com> Date: Tue, 28 Apr 2020 00:28:02 +0700 Subject: [PATCH] Improve drivenime.com bypass (re #930) --- injection_script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/injection_script.js b/injection_script.js index bb2dbbd..05268e6 100644 --- a/injection_script.js +++ b/injection_script.js @@ -1504,7 +1504,7 @@ ensureDomLoaded(()=>{ a.href+="#bypassClipboard="+location.pathname.replace(/[^a-zA-Z0-9]/g,"").toLowerCase()+a.closest("ul").previousElementSibling.textContent.replace(/[^a-zA-Z0-9]/g,"").toLowerCase()+a.textContent.toLowerCase() } })) - domainBypass("drivenime.com",()=>document.querySelectorAll("a[href^='https://drivenime.com?a82ad005b1=']").forEach(a=>{ + domainBypass("drivenime.com",()=>document.querySelectorAll("a[href*='?a82ad005b1=']").forEach(a=>{ let p=a.parentNode,qe=p.previousElementSibling while(qe&&qe.tagName!="H2") {