Skip to content

Instantly share code, notes, and snippets.

@prat0318
Last active September 21, 2017 17:51
Show Gist options
  • Save prat0318/365fd65b7368d303d215398e73bef6ba to your computer and use it in GitHub Desktop.
Save prat0318/365fd65b7368d303d215398e73bef6ba to your computer and use it in GitHub Desktop.
function FindProxyForURL(url, host) {
PROXY = "SOCKS localhost:54311"
if (shExpMatch(host,"10.129.*")) {
return PROXY;
}
// Everything else directly!
return "DIRECT";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment