Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (12 sloc) 449 Bytes
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.