Skip to content

Instantly share code, notes, and snippets.

@thinrhino
Created May 14, 2015 18:24
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 thinrhino/b3ee58a78e8b60b0a6df to your computer and use it in GitHub Desktop.
Save thinrhino/b3ee58a78e8b60b0a6df to your computer and use it in GitHub Desktop.
function FindProxyForURL(url, host)
{
if (dnsDomainIs(host, ".pandora.com"))
return "PROXY 199.189.84.217:3128"
if (dnsDomainIs(host, ".spotify.com"))
return "PROXY 54.246.92.203:80"
return "DIRECT"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment