Merge pull request #531 from ikancupang/pull

Improve go.indonesia-publisher.id bypass
This commit is contained in:
Tim Speckhals 2019-10-25 21:18:33 +02:00 committed by GitHub
commit fb6306ceeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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])
})