Skip to content

Commit

Permalink
Allow using own proxies only for own sites, see #55
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyaigpetrov committed Oct 3, 2020
1 parent 71fe983 commit f07f0d1
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,13 @@
url: 'https://rebrand.ly/ac-own-proxy',
order: 7,
},
ifUseOwnProxiesOnlyForOwnSites: {
dflt: false,
category: 'ownProxies',
label: 'СВОИ прокси только для СВОИХ сайтов',
desc: 'Не использовать СВОИ прокси для всех сайтов из PAC-скрипта, а только для добавленных вручную исключений.',
order: 7.5,
},
ifProxyMoreDomains: {
ifDisabled: true,
dflt: false,
Expand Down Expand Up @@ -451,7 +458,7 @@ ${ pacMods.filteredCustomsString
/******/ return "DIRECT";
/******/ }
/******/ return ` +
(pacMods.filteredCustomsString
((pacMods.filteredCustomsString && !pacMods.ifUseOwnProxiesOnlyForOwnSites)
? 'filteredCustomProxies + "; " + '
: ''
) +
Expand Down

0 comments on commit f07f0d1

Please sign in to comment.