紫藤花开的日子

发布时间:2021-06-06

function FindProxyForURL(url, host){

if(isPlainHostName(host)) return 'DIRECT';

if(!shExpMatch(url, 'http*')) return 'DIRECT';

var ip = dnsResolve(host);

// no dns result

if(!ip) return 'PROXY 127.0.0.1:8083;';

// ipv6

if(shExpMatch(ip, '*:*')) return 'DIRECT';

// local

else if(isInNet(ip,'127.0.0.0','255.0.0.0')) return 'DIRECT';

else if(isInNet(ip,'10.0.0.0','255.0.0.0')) return 'DIRECT';

else if(isInNet(ip,'192.168.0.0','255.255.0.0')) return 'DIRECT';

else if(isInNet(ip,'172.16.0.0','255.240.0.0')) return 'DIRECT';

else if(isInNet(ip,'169.254.0.0','255.255.0.0')) return 'DIRECT';

// video rules

else if(shExpMatch(url, '*.flv')) return 'PROXY ' + host + ':8081;';

else if(shExpMatch(url, '*.mp4')) return 'PROXY ' + host + ':8081;';

else if(shExpMatch(url, 'http:*/flv/*.flv?*&key=*')) return 'PROXY ' + host + ':8081;';

else if(shExpMatch(url, 'http:*/mp4/*.f4v?*&key=*')) return 'PROXY ' + host + ':8081;';

else if(shExpMatch(url, '*.flv?start=*')) return 'PROXY ' + host + ':8081;';

else if(shExpMatch(url, '*.mp4?start=*')) return 'PROXY ' + host + ':8081;';

else if (isInNet(ip, '58.154.0.0','255.254.0.0')) return 'DIRECT';

else if (isInNet(ip, '58.192.0.0','255.254.0.0')) return 'DIRECT';

else if (isInNet(ip, '58.194.0.0','255.254.0.0')) return 'DIRECT';

else if (isInNet(ip, '58.196.0.0','255.254.0.0')) return 'DIRECT';

else if (isInNet(ip, '58.198.0.0','255.254.0.0')) return 'DIRECT';

else if (isInNet(ip, '58.200.0.0','255.248.0.0')) return 'DIRECT';

else if (isInNet(ip, '59.64.0.0','255.252.0.0')) return 'DIRECT';

else if (isInNet(ip, '59.68.0.0','255.252.0.0')) return 'DIRECT';

else if (isInNet(ip, '59.72.0.0','255.254.0.0')) return 'DIRECT';

else if (isInNet(ip, '59.74.0.0','255.254.0.0')) return 'DIRECT';

else if (isInNet(ip, '59.76.0.0','255.255.0.0')) return 'DIRECT';

else if (isInNet(ip, '59.77.0.0','255.255.0.0')) return 'DIRECT';

else if (isInNet(ip, '59.78.0.0','255.254.0.0')) return 'DIRECT';

else if (isInNet(ip, '110.64.0.0','255.254.0.0')) return 'DIRECT';

else if (isInNet(ip, '111.114.0.0','255.254.0.0')) return 'DIRECT';

else if (isInNet(ip, '111.116.0.0','255.254.0.0')) return 'DIRECT';

else if (isInNet(ip, '111.186.0.0','255.254.0.0')) return 'DIRECT';

紫藤花开的日子.doc 将本文的Word文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219