My Wordpress Blog
← Something swollen
文学是这样炼成的 →
March 10th, 2006 | Internet, Mac
实在是被不断出现的网页不能访问烦透了,终于装了 Tor。根据 lucifer 的配置改了 config 。Done.
如果想控制哪些站点直接访问哪些tor还是PAC方便些,比如:
function FindProxyForURL(url, host) { if (dnsDomainIs(host, “.blogspot.com”) || dnsDomainIs(host, “.geocities.com”) || dnsDomainIs(host, “.tldp.org”)|| dnsDomainIs(host, “.wikipedia.org”)|| dnsDomainIs(host, “.nibfile.com”)|| dnsDomainIs(host, “.mediawiki.org”)|| dnsDomainIs(host, “.wordpress.org”)|| dnsDomainIs(host, “.redchairsoftware.com”)|| dnsDomainIs(host, “config.privoxy.org”)|| dnsDomainIs(host, “.no-ip.com”)) return “PROXY 127.0.0.1:8118; DIRECT”; else return “DIRECT; PROXY 127.0.0.1:8118″; }
不过貌似 Safari 用不了 PAC
可以的,在Preferences->Advanced里头有~
Name
Mail
Website
3 comments ↓
如果想控制哪些站点直接访问哪些tor还是PAC方便些,比如:
function FindProxyForURL(url, host) { if (dnsDomainIs(host, “.blogspot.com”) || dnsDomainIs(host, “.geocities.com”) || dnsDomainIs(host, “.tldp.org”)|| dnsDomainIs(host, “.wikipedia.org”)|| dnsDomainIs(host, “.nibfile.com”)|| dnsDomainIs(host, “.mediawiki.org”)|| dnsDomainIs(host, “.wordpress.org”)|| dnsDomainIs(host, “.redchairsoftware.com”)|| dnsDomainIs(host, “config.privoxy.org”)|| dnsDomainIs(host, “.no-ip.com”)) return “PROXY 127.0.0.1:8118; DIRECT”; else return “DIRECT; PROXY 127.0.0.1:8118″; }
不过貌似 Safari 用不了 PAC
可以的,在Preferences->Advanced里头有~
Leave a Comment