Skip to content

Instantly share code, notes, and snippets.

@taosx
Last active June 19, 2019 14:21
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 taosx/15710e898da244d6bcb0d33c97c2e1da to your computer and use it in GitHub Desktop.
Save taosx/15710e898da244d6bcb0d33c97c2e1da to your computer and use it in GitHub Desktop.
function FindProxyForURL(url, host) {
host = host.toLowerCase();
if (shExpMatch(host, "*.nandomedia.com") || shExpMatch(host, "*.adobe.com")){
return "SOCKS 127.0.0.1:1337"; // (IP:port)
}
return "default";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment