使用自动代理脚本访问blogspot.com


创建一个proxy.pac文件,内容如下:
function FindProxyForURL(url, host)
{
if(dnsDomainIs(host, “.blogspot.com”))
return “PROXY google.cn:80“;
else
return DIRECT;
}

保存到:C:proxy.pac
然后在FireFox->工具->选项->高级->网络->设置->自动代理配置,然后填入 file://C:/proxy.pac

通过以上设置就能浏览blogspot.com了。IE也可采用相同的设置。

网上盛传以下方法,本人测试后无效:
function FindProxyForURL(url,host){
if(dnsDomainIs(host, “.blogspot.com”)){
return “PROXY 72.14.219.190:80”;
}
}
修改代理地址为google.cn:80之后即可。

 

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s