http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html
function FindProxyForURL(url, host) {
if (shExpMatch(host, "eebo.chadwyck.com") || shExpMatch(host, "*.galegroup.com") || shExpMatch(host, "*.ggsrv.com"))
return "PROXY proxy.nlc.gov.cn:3128";
else
return "DIRECT";
}
posted on 2006-11-28 20:02
崛起的程序員 閱讀(247)
評論(0) 編輯 收藏 所屬分類:
javascript