访问维基百科

我用firefox,然后加装xyzproxy扩展(1.14beta版[1]),然后编辑一个wikipedia.pac文件[2]。在Firefox的代理选择页里选择该pac文件,然后使用xyzproxy提供的button进行切换。

[1] http://xyzboard.com/?q=taxonomy/term/6/map

[2]
<pre>
function FindProxyForURL(url, host)
{
url = url.toLowerCase();
host = host.toLowerCase();

if(dnsDomainIs(host,"wikipedia.org")
                || dnsDomainIs(host,"wiktionary.org")
                || dnsDomainIs(host,"wikisource.org")
                || dnsDomainIs(host,"wikimedia.org")
                || dnsDomainIs(host,"stats.wikimedia.org")
                || dnsDomainIs(host,"wikinews.org"))
        return "PROXY 145.97.39.138:80";
else return "DIRECT";

}
</pre>
阅读全文
类别:默认分类 查看评论
posted @ 2006-07-16 16:38  LI Daobing  阅读(320)  评论(0)    收藏  举报