From bcf014063a2199b8f41148c361875b41c306f3fc Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Sat, 27 Jun 2020 20:33:51 +0200 Subject: [PATCH] Add apkmodo.com bypass (closes #1344) --- injection_script.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/injection_script.js b/injection_script.js index 264fcd3..22eb019 100644 --- a/injection_script.js +++ b/injection_script.js @@ -1353,6 +1353,14 @@ ensureDomLoaded(()=>{ domainBypass("daunshorte.kertashitam.com",()=>ifElement("div[align=center] > center > a[href]",a=>safelyAssign(a.href))) hrefBypass(/www1\.swatchseries\.to\/freecale\.html\?r\=/,()=>awaitElement("a.push_button.blue[href]:not([href='http://www1.swatchseries.to/'])",a=>safelyNavigate(a.href))) domainBypass("tl.gd",()=>safelyAssign("http://www.twitlonger.com/show"+location.pathname)) + domainBypass("apkmodo.com",()=>{ + ifElement(".show_download_links a[href]",a=>safelyNavigate(a.href),()=>{ + if(location.search.substr(0,6)=="?xurl=") + { + safelyNavigate("http"+decodeURIComponent(location.search.substr(6))) + } + }) + }) //Insertion point for domain-or-href-specific bypasses running after the DOM is loaded. Bypasses here will no longer need to call ensureDomLoaded. if(bypassed) {