Created
November 18, 2020 15:45
-
-
Save vadikgo/f24ba6c7bc565a49263d09817a81c1e1 to your computer and use it in GitHub Desktop.
safari proxy pac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function FindProxyForURL(url, host) { | |
if (dnsDomainIs(host, ".vtb") || dnsDomainIs(host, ".vtb.ru") || | |
shExpMatch(host, "10.*") || | |
shExpMatch(host, ".*\.vtb.*")) { | |
return "SOCKS 127.0.0.1:9050; SOCKS5 127.0.0.1:9050;"; | |
} | |
return "DIRECT"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment