From f5f3ef7ff70105fe573d38aeb7c9580bd60ee031 Mon Sep 17 00:00:00 2001 From: shalabio Date: Sat, 1 Jan 2022 21:22:19 +0200 Subject: [PATCH 1/2] Update injection_script.js Bypasses for some sites requiring several "next" clicks like forexmab.com, forexlap.com, forex-articles.com. Tested and working fine. --- src/js/injection_script.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/js/injection_script.js b/src/js/injection_script.js index 4dd4dabfa..e05dd3682 100644 --- a/src/js/injection_script.js +++ b/src/js/injection_script.js @@ -1889,7 +1889,20 @@ ensureDomLoaded(()=>{ domainBypass("work.ink", () => { ifElement("#redirect-button", () => openFinalLink()) }) + //Insertion point for domain-or-href-specific bypasses running after the DOM is loaded. Bypasses here will no longer need to call ensureDomLoaded. + + domainBypass("forexmab.com", () => { + ifElement("#molien", a => {safelyNavigate(a.firstElementChild.href)})}) + + domainBypass("forex-articles.com",()=>ifElement("#FilterSearch",f=>{ + f.target="_self" + f.submit()})) + + domainBypass("forexlap.com",()=>ifElement("#molien", a=>{ + let b=a.getElementsByTagName("form") + b[0].submit()})) + hrefBypass(/https:\/\/fmoviesdl.com\/links\//, () => { ifElement("#link", a => { safelyNavigate(a.href) From 1ff574a1f91117105c2df71160c3145013cab45c Mon Sep 17 00:00:00 2001 From: shalabio Date: Fri, 14 Jan 2022 14:04:55 +0200 Subject: [PATCH 2/2] Update injection_script.js --- src/js/injection_script.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/js/injection_script.js b/src/js/injection_script.js index e05dd3682..ff27931e6 100644 --- a/src/js/injection_script.js +++ b/src/js/injection_script.js @@ -1893,15 +1893,18 @@ ensureDomLoaded(()=>{ //Insertion point for domain-or-href-specific bypasses running after the DOM is loaded. Bypasses here will no longer need to call ensureDomLoaded. domainBypass("forexmab.com", () => { - ifElement("#molien", a => {safelyNavigate(a.firstElementChild.href)})}) + ifElement("#molien", a => {safelyNavigate(a.firstElementChild.href)}) + }) domainBypass("forex-articles.com",()=>ifElement("#FilterSearch",f=>{ f.target="_self" - f.submit()})) + f.submit() + })) domainBypass("forexlap.com",()=>ifElement("#molien", a=>{ let b=a.getElementsByTagName("form") - b[0].submit()})) + b[0].submit() + })) hrefBypass(/https:\/\/fmoviesdl.com\/links\//, () => { ifElement("#link", a => {