|
function
FindProxyFo
|
|
|
|
|
function FindProxyForURL(url, host) {var DIRECT = 0, AD_FILTER = 1, TOR = 2, TOR_SOCKS = 3,GFW = TOR,proxy = ['DIRECT',// 0 DIRECT'PROXY 0.0.0.0:80',// 1 AD_FILTER'PROXY 127.0.0.1:8118',// 2 TOR'SOCKS 127.0.0.1:9050'// 3 TOR_SOCKS],hosts = {'127.0.0.1 : DIRECT, localhost': DIRECT, blosgpot.com': GFW, tumblr.com': GFW, twitter.com': GFW, getchu.com': GFW, gstatic.com': GFW,// and so on images.google.com': GFW, mail-archive.com': GFW, wikileaks.org': GFW, my.opera.com': GFW, youtube.com': GFW},urls = {},subnets = [],i, ilen, j, jlen, ret;ret = proxy[DIRECT];if( isPlainHostName(host) ) {return ret;}url = url.toLowerCase();host = host.toLowerCase();for(i in hosts) {if( dnsDomainIs(host, i) ) {ret = proxy[hosts[i]];break;}}return ret;};// 一旦脚本è¯æ³•æœ‰è¯¯ï¼Œå³ä½¿çº æ£ä¹Ÿå¿…é¡»é‡å¯Opera。
|
|
|
|
|
|
|
|
|
(VISITOR) AUTHOR'S NAME Elisabeth
MESSAGE TIMESTAMP 16 december 2014, 12:02:01
AUTHOR'S IP LOGGED 190.73.113.162
|
|
|
|