mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-27 20:03:45 +03:00
Merge pull request #37 from dchusovitin/proxy-priority
Custom (or tor) proxies must have the higher priority
This commit is contained in:
commit
1a92356e06
|
@ -364,7 +364,7 @@
|
||||||
if (pacMods.filteredCustomsString) {
|
if (pacMods.filteredCustomsString) {
|
||||||
res += `
|
res += `
|
||||||
/******/
|
/******/
|
||||||
/******/ const filteredCustomProxies = "; ${pacMods.filteredCustomsString}";
|
/******/ const filteredCustomProxies = "${pacMods.filteredCustomsString}; ";
|
||||||
/******/`;
|
/******/`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -440,6 +440,7 @@ ${ pacMods.filteredCustomsString
|
||||||
/******/ return "DIRECT";
|
/******/ return "DIRECT";
|
||||||
/******/ }
|
/******/ }
|
||||||
/******/ return ` +
|
/******/ return ` +
|
||||||
|
(pacMods.filteredCustomsString ? 'filteredCustomProxies + ' : '') +
|
||||||
function() {
|
function() {
|
||||||
|
|
||||||
if (!pacMods.ifUsePacScriptProxies) {
|
if (!pacMods.ifUsePacScriptProxies) {
|
||||||
|
@ -452,7 +453,7 @@ ${ pacMods.filteredCustomsString
|
||||||
}
|
}
|
||||||
return filteredPacExp + ' + ';
|
return filteredPacExp + ' + ';
|
||||||
|
|
||||||
}() + `${pacMods.filteredCustomsString ? 'filteredCustomProxies + ' : ''}directIfAllowed;`; // Without DIRECT you will get 'PROXY CONN FAILED' pac-error.
|
}() + `directIfAllowed;`; // Without DIRECT you will get 'PROXY CONN FAILED' pac-error.
|
||||||
|
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user