From 2891a46b7e823352792eca11815c1cd035a74105 Mon Sep 17 00:00:00 2001 From: ikancupang <56580668+ikancupang@users.noreply.github.com> Date: Sat, 26 Oct 2019 01:15:29 +0700 Subject: [PATCH] Improve go.indonesia-publisher.id bypass --- content_script.js | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/content_script.js b/content_script.js index 503c708..4f0fdd2 100644 --- a/content_script.js +++ b/content_script.js @@ -1008,6 +1008,13 @@ if(document instanceof HTMLDocument) domainBypass("transmediakreatif.com",()=>{ ifElement("#download > a[href]",a=>location.href=a.href) }) + domainBypass("go.indonesia-publisher.id",()=>{ + ifElement("form#link-view",()=>{ + let o={page:{}} + disqus_config.call(o) + safelyNavigate(o.page.url) + }) + }) //Insertion point 2 — insert bypasses running after the DOM is loaded above this comment if(bypassed) { @@ -1371,16 +1378,6 @@ if(document instanceof HTMLDocument) crowdPath(location.hash.substr(1)) }) }) - domainBypass("go.indonesia-publisher.id",()=>{ - ifElement("form#link-view",f=>{ - let o={page:{}} - disqus_config.call(o) - crowdPath(o.page.title) - f.action+="#"+o.page.title - },()=>{ - crowdPath(location.hash.substr(1)) - }) - }) domainBypass(/(atv|adlink)\\.pw|safe\\.mirrordown\\.com|kabarviral\\.blog|lewat\\.club/,()=>{ crowdPath(location.search.substr(1).split("=")[0]) })