mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-24 02:13:43 +03:00
Allow using own proxies only for own sites, see #55
This commit is contained in:
parent
71fe983cf2
commit
f07f0d1fbb
|
@ -122,6 +122,13 @@
|
||||||
url: 'https://rebrand.ly/ac-own-proxy',
|
url: 'https://rebrand.ly/ac-own-proxy',
|
||||||
order: 7,
|
order: 7,
|
||||||
},
|
},
|
||||||
|
ifUseOwnProxiesOnlyForOwnSites: {
|
||||||
|
dflt: false,
|
||||||
|
category: 'ownProxies',
|
||||||
|
label: 'СВОИ прокси только для СВОИХ сайтов',
|
||||||
|
desc: 'Не использовать СВОИ прокси для всех сайтов из PAC-скрипта, а только для добавленных вручную исключений.',
|
||||||
|
order: 7.5,
|
||||||
|
},
|
||||||
ifProxyMoreDomains: {
|
ifProxyMoreDomains: {
|
||||||
ifDisabled: true,
|
ifDisabled: true,
|
||||||
dflt: false,
|
dflt: false,
|
||||||
|
@ -451,7 +458,7 @@ ${ pacMods.filteredCustomsString
|
||||||
/******/ return "DIRECT";
|
/******/ return "DIRECT";
|
||||||
/******/ }
|
/******/ }
|
||||||
/******/ return ` +
|
/******/ return ` +
|
||||||
(pacMods.filteredCustomsString
|
((pacMods.filteredCustomsString && !pacMods.ifUseOwnProxiesOnlyForOwnSites)
|
||||||
? 'filteredCustomProxies + "; " + '
|
? 'filteredCustomProxies + "; " + '
|
||||||
: ''
|
: ''
|
||||||
) +
|
) +
|
||||||
|
|
Loading…
Reference in New Issue
Block a user