ie
file://d:/PersonalSet/agent.pac
火狐
file:///d:/PersonalSet/agent.pac
function FindProxyForURL(url, host){
if (isInNet(host, "222.37.37.0", "255.255.255.0"))
{
DIRECT;
}
if (dnsDomainIs(host, "wx.qq.com")
{
DIRECT;
}
if (isInNet(host, "10.0.0.0", "255.0.0.0"))
{
return "PROXY 192.168.0.125:8888";
}
return "PROXY 192.168.0.125:8888;DIRECT";
}