Skip to content

Instantly share code, notes, and snippets.

@kloots
Last active August 29, 2015 14:20
Show Gist options
  • Save kloots/d6f12bcded906a0f877e to your computer and use it in GitHub Desktop.
Save kloots/d6f12bcded906a0f877e to your computer and use it in GitHub Desktop.
function FindProxyForURL(url, host)
{
if (isInNet(host, 'pbs.twimg.com'))
return 'DIRECT'; else return 'PROXY 10.0.0.19:8888';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment