Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (12 sloc) 0.449 kb
function FindProxyForURL(url, host) {
if ((shExpMatch(host, "*ec2*.amazonaws.com" )) ||
(shExpMatch(host, "*ec2.internal*" )) ||
(shExpMatch(host, "*compute-*.amazonaws.com" )) ||
(shExpMatch(host, "*compute-*.internal*" )) ||
(shExpMatch(host, "*domu*.internal*" )) ||
(shExpMatch(host, "10.*" ))
) {
return "SOCKS5 localhost:6666";
}
return "DIRECT";
}
Jump to Line
Something went wrong with that request. Please try again.