Add droidtamvan.me bypass (closes #796)

This commit is contained in:
Tim "timmyRS" Speckhals 2020-01-02 20:31:46 +01:00
parent 8eba67dcb4
commit db552120b9
2 changed files with 12 additions and 8 deletions

View File

@ -906,13 +906,16 @@ brws.webRequest.onHeadersReceived.addListener(details=>{
if(enabled)
{
let url = new URL(details.url)
for(let i in details.responseHeaders)
if(url.pathname.substr(0,6)!="/post/")
{
let header = details.responseHeaders[i]
if(header.name.toLowerCase() == "location")
for(let i in details.responseHeaders)
{
details.responseHeaders[i].value += "#" + url.pathname.substr(1)
break
let header = details.responseHeaders[i]
if(header.name.toLowerCase() == "location")
{
details.responseHeaders[i].value += "#" + url.pathname.substr(1)
break
}
}
}
return{responseHeaders:details.responseHeaders}
@ -920,7 +923,8 @@ brws.webRequest.onHeadersReceived.addListener(details=>{
},{types:["main_frame"],urls:[
"*://*.bercara.com/*",
"*://*.semawur.com/*",
"*://*.in11.site/*"
"*://*.in11.site/*",
"*://*.droidtamvan.me/*"
]},["blocking","responseHeaders"])
brws.webRequest.onHeadersReceived.addListener(details=>{

View File

@ -875,7 +875,7 @@ ensureDomLoaded(()=>{
f.submit()
})
domainBypass("xxx.lewd.ninja",()=>safelyNavigate(document.body.textContent))
domainBypass(/tr\.link|movienear\.me|lewat\.club/,()=>{
domainBypass(/tr\.link|movienear\.me|lewat\.club|droidtamvan\.me/,()=>{
if(typeof app_vars=="undefined")
{
app_vars={}
@ -1455,7 +1455,7 @@ ensureDomLoaded(()=>{
}
domainBypass("adcoinfly.com",()=>document.querySelectorAll("a.btn[href=''], a.btn[href*='clickme']").forEach(e=>e.parentNode.removeChild(e)))
domainBypass(/(semawur|bercara)\.com|in11\.site/,()=>ifElement("input[type='hidden'][name='alias'][value]",i=>crowdPath(i.value),()=>crowdPath(location.hash.substr(1))))
domainBypass(/movienear\.me|lewat\.club/,()=>{
domainBypass(/movienear\.me|lewat\.club|droidtamvan\.me/,()=>{
ifElement("input[type='hidden'][name='alias'][value]",i=>{
i.parentNode.action+="#"+i.value+(ignoreCrowdBypass?"#ignoreCrowdBypass":"")
crowdPath(i.value)