|
|
创建一个文件 proxy.pac:- function FindProxyForURL(url,host){
- if(dnsDomainIs(host, ".blogspot.com")){
- return "PROXY 72.14.219.190:80";
- }
- if(dnsDomainIs(host, ".googlepages.com")){
- return "PROXY 72.14.219.190:80";
- }
- if(dnsDomainIs(host, "pages.google.com")){
- return "PROXY 72.14.219.190:80";
- }
- return "DIRECT";
- }
复制代码
然后在Firefox 里设置代理为”自动代理配置URL“:file:///home/joe/proxy.pac
当然,目录替换成你自己存放 proxy.pac 的目录。 |
|