Skip to content

Instantly share code, notes, and snippets.

@josephfinlayson
Last active September 21, 2019 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josephfinlayson/5928c3a38f1631be10f4d9f1321747eb to your computer and use it in GitHub Desktop.
Save josephfinlayson/5928c3a38f1631be10f4d9f1321747eb to your computer and use it in GitHub Desktop.
function FindProxyForURL(url, host) {
if (shExpMatch(host,"*.gpsrv.com")) {
return "SOCKS5 127.0.0.1:5000; SOCKS 127.0.0.1:5000"
}
return "DIRECT"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment