blob: 966c37ba5222b8960f36a9da26be565d677e73e8 (
plain)
1
2
3
4
5
6
7
|
function FindProxyForURL(url, host)
{
if (shExpMatch(host, "*.proxy1.com")) return "PROXY localhost:5551";
if (shExpMatch(host, "*.proxy2.com")) return "PROXY localhost:5552";
return "DIRECT";
}
|