Home RSS

Archive for June, 2007

打破封锁走出去

function FindProxyForURL(url,host){
if(dnsDomainIs(host, “.blogspot.com”)){
return “PROXY 72.14.219.190:80″;
}
if(dnsDomainIs(host, “.wikipedia.org”)){
return “PROXY 66.230.200.101:80″;
}
if(dnsDomainIs(host, “.wordpress.com”)){
return “PROXY 72.232.101.41:80″;
}
if(dnsDomainIs(host, “.livejournal.com”)){
return “PROXY 204.9.177.19:80″;
}
return “DIRECT”;
}

另存为proxy.pac

FireFox下选项–高级–网络–链接–设置 , IE找到相应位置。

自动代理配置url

输入 file:///E:/download/proxy.pac ,存放proxy.pac 路径

Tags: 

. . .