Add wadooo.com crowd bypass (and some other improvements) (fixes #420)
This commit is contained in:
parent
7735c861ec
commit
cb11357a22
@ -303,7 +303,7 @@ brws.webRequest.onBeforeRequest.addListener(details=>{
|
||||
brws.webRequest.onBeforeRequest.addListener(details=>{
|
||||
if(enabled)
|
||||
{
|
||||
return getRedirect(atob(details.url.substr(details.url.indexOf("?a=")+3)))
|
||||
return getRedirect(atob(details.url.substr(details.url.indexOf("?a=")+3).split("#")[0]))
|
||||
}
|
||||
},{types:["main_frame"],urls:[
|
||||
"*://*.adsafelink.net/generate?a=*"
|
||||
@ -520,34 +520,28 @@ brws.webRequest.onBeforeRequest.addListener(details=>{
|
||||
|
||||
//Ouo.io/press Crowd Bypass
|
||||
brws.webRequest.onHeadersReceived.addListener(details=>{
|
||||
if(enabled)
|
||||
if(enabled&&crowdEnabled)
|
||||
{
|
||||
let url = new URL(details.url), target
|
||||
let url=new URL(details.url)
|
||||
for(let i in details.responseHeaders)
|
||||
{
|
||||
let header = details.responseHeaders[i]
|
||||
if(header.name.toLowerCase() == "location" && isGoodLink(header.value))
|
||||
let header=details.responseHeaders[i]
|
||||
if(header.name.toLowerCase()=="location"&&isGoodLink(header.value))
|
||||
{
|
||||
details.responseHeaders[i].value = getRedirectUrl(target = header.value)
|
||||
let xhr=new XMLHttpRequest()
|
||||
xhr.open("POST","https://universal-bypass.org/crowd/contribute_v1",true)
|
||||
xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded")
|
||||
xhr.send("domain=ouo.io&path="+encodeURIComponent(url.pathname.split("/")[2])+"&target="+encodeURIComponent(header.value))
|
||||
break
|
||||
}
|
||||
}
|
||||
if(target)
|
||||
{
|
||||
let xhr=new XMLHttpRequest()
|
||||
xhr.open("POST","https://universal-bypass.org/crowd/contribute_v1",true)
|
||||
xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded")
|
||||
xhr.send("domain=ouo.io&path="+encodeURIComponent(url.pathname.split("/")[2])+"&target="+encodeURIComponent(target))
|
||||
return{responseHeaders:details.responseHeaders}
|
||||
}
|
||||
}
|
||||
},{types:["main_frame"],urls:[
|
||||
"*://*.ouo.io/*/*",
|
||||
"*://*.ouo.press/*/*"
|
||||
]},["blocking","responseHeaders"])
|
||||
|
||||
|
||||
//SafelinkU Crowd Bypass
|
||||
//Crowd Bypass Path Helper
|
||||
brws.webRequest.onHeadersReceived.addListener(details=>{
|
||||
if(enabled)
|
||||
{
|
||||
@ -564,7 +558,35 @@ brws.webRequest.onHeadersReceived.addListener(details=>{
|
||||
return{responseHeaders:details.responseHeaders}
|
||||
}
|
||||
},{types:["main_frame"],urls:[
|
||||
"*://*.bercara.com/*"
|
||||
//SafelinkU
|
||||
"*://*.bercara.com/*",
|
||||
//Wadooo.com
|
||||
"*://*.wetbread.me/*"
|
||||
]},["blocking","responseHeaders"])
|
||||
|
||||
//Wadooo.com Crowd Bypass
|
||||
brws.webRequest.onHeadersReceived.addListener(details=>{
|
||||
if(enabled&&crowdEnabled&&details.method=="POST")
|
||||
{
|
||||
let url=new URL(details.url)
|
||||
if(url.hash.length>1)
|
||||
{
|
||||
for(let i in details.responseHeaders)
|
||||
{
|
||||
let header=details.responseHeaders[i]
|
||||
if(header.name.toLowerCase()=="location"&&isGoodLink(header.value))
|
||||
{
|
||||
let xhr=new XMLHttpRequest()
|
||||
xhr.open("POST","https://universal-bypass.org/crowd/contribute_v1",true)
|
||||
xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded")
|
||||
xhr.send("domain=wadooo.com&path="+encodeURIComponent(url.hash.substr(1))+"&target="+encodeURIComponent(header.value))
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},{types:["main_frame"],urls:[
|
||||
"*://*.wadooo.com/*"
|
||||
]},["blocking","responseHeaders"])
|
||||
|
||||
//Fixing Content-Security-Policy on Firefox because apparently extensions have no special privileges in Firefox
|
||||
|
@ -432,6 +432,10 @@ if(document instanceof HTMLDocument)
|
||||
domainBypass("hokiciki.org",()=>{
|
||||
ifElement("a[href^='/get-link/']",a=>location.href=a.href)
|
||||
})
|
||||
domainBypass("wadooo.com",()=>{
|
||||
crowdPath(location.hash.substr(1))
|
||||
crowdBypass()
|
||||
})
|
||||
//Insertion point 1 — insert bypasses running before the DOM is loaded above this comment
|
||||
hrefBypass(/njiir\\.com|linkduit\\.net|k2s\\.cc|1link\\.club|cshort\\.(org|xyz)|muhammadyoga\\.me|u\\.to|skiplink\\.io|healthykk\\.com|punchsubs\\.net|linkasm\\.com|firefaucet\\.win\\/l\\/|emulator\\.games\\/download\\.php|2speed\\.net\\/file\\//,()=>{
|
||||
window.setInterval=f=>setInterval(f,1)
|
||||
@ -452,7 +456,10 @@ if(document instanceof HTMLDocument)
|
||||
{
|
||||
safelyNavigate(document.getElementById("link").href)
|
||||
}
|
||||
else ifElement("#getLinkNow",f=>f.submit())
|
||||
else
|
||||
{
|
||||
ifElement("#getLinkNow",f=>f.submit())
|
||||
}
|
||||
})
|
||||
domainBypass("srt.am",()=>{
|
||||
if(document.querySelector(".skip-container"))
|
||||
@ -640,7 +647,10 @@ if(document instanceof HTMLDocument)
|
||||
{
|
||||
location.href=b.href
|
||||
}
|
||||
else ifElement("#download",b=>safelyNavigate(b.href))
|
||||
else
|
||||
{
|
||||
ifElement("#download",b=>safelyNavigate(b.href))
|
||||
}
|
||||
})
|
||||
hrefBypass(/4snip\\.pw\\/out\\//,()=>{
|
||||
let f=document.querySelector("form[action^='../out2/']")
|
||||
@ -927,7 +937,7 @@ if(document instanceof HTMLDocument)
|
||||
},()=>{
|
||||
let cLT=setInterval(()=>{
|
||||
if((document.querySelector("img#pleasewait")&&document.querySelector(".wait"))
|
||||
||document.getElementById("download")
|
||||
||document.getElementById("download")
|
||||
||document.getElementsByTagName("style='margin-top:").length
|
||||
||document.querySelector(".Visit_Link")//yametesenpai.xyz
|
||||
||document.getElementById("daplong")//converthinks.xyz
|
||||
@ -1202,7 +1212,7 @@ if(document instanceof HTMLDocument)
|
||||
}
|
||||
crowdPath(location.search.substr(3))
|
||||
}
|
||||
domainBypass(/bercara\\.com/,()=>{
|
||||
domainBypass("bercara.com",()=>{
|
||||
ifElement("input[type='hidden'][name='alias'][value]",i=>crowdPath(i.value),()=>crowdPath(location.hash.substr(1)))
|
||||
})
|
||||
domainBypass(/(atv|adlink)\\.pw|safe\\.mirrordown\\.com|kabarviral\\.blog|lewat\\.club/,()=>{
|
||||
|
Loading…
x
Reference in New Issue
Block a user