在国内,Blogspot.com域名十分难访问。虽然有http://www.inblogs.net和http://www.pkblogs.com,但是这两个网站和blogspot.com一样,都会时不时被封锁。如果我们想通过修改c:\windows\system32\drivers\etc\hosts文件,来进行blogspot.com的访问,那么我们只有修改一个二级域名,才能访问一个。少量访问还可以忍受,网站太多了就不堪修改的重负了。最近,找到了一种firefox无痛访问blogspot.com的方法,通过增加一个配置文件,就可以随意对任意blogspot.com网站进行访问。
分享给大家:
- 复制以下内容到记事本:
-
function FindProxyForURL(url,host){ if(dnsDomainIs(host, ".blogspot.com")){ return "PROXY 72.14.219.190:80"; } }
- 另存为 proxy.pac 到 C:\ 下,打开Firefox,依次点击 工具->选项-> 高级->网络->设置...->选中自动代理配置URL,添加 file:///C:/proxy.pac ,点击重新载入,OK!
No comments:
Post a Comment