资源描述:
《笔记本键盘按键错乱》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、functionFindProxyForURL(url,host){if(isPlainHostName(host))return'DIRECT';if(!shExpMatch(url,'http*'))return'DIRECT';varip=dnsResolve(host);//nodnsresultif(!ip)return'PROXY127.0.0.1:8083;';//ipv6if(shExpMatch(ip,'*:*'))return'DIRECT';//localelseif(isInNet(ip,'127.0.0.0','255.0.0.0
2、'))return'DIRECT';elseif(isInNet(ip,'10.0.0.0','255.0.0.0'))return'DIRECT';elseif(isInNet(ip,'192.168.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'172.16.0.0','255.240.0.0'))return'DIRECT';elseif(isInNet(ip,'169.254.0.0','255.255.0.0'))return'DIRECT';//videoruleselseif(sh
3、ExpMatch(url,'*.flv'))return'PROXY'+host+'.local.acc.sogou.com:8081;';elseif(shExpMatch(url,'*.mp4'))return'PROXY'+host+'.local.acc.sogou.com:8081;';elseif(shExpMatch(url,'http:*/flv/*.flv?*&key=*'))return'PROXY'+host+'.local.acc.sogou.com:8081;';elseif(shExpMatch(url,'http:*/mp4/
4、*.f4v?*&key=*'))return'PROXY'+host+'.local.acc.sogou.com:8081;';elseif(shExpMatch(url,'*.flv?start=*'))return'PROXY'+host+'.local.acc.sogou.com:8081;';elseif(shExpMatch(url,'*.mp4?start=*'))return'PROXY'+host+'.local.acc.sogou.com:8081;';elseif(isInNet(ip,'58.154.0.0','255.254.0.0
5、'))return'DIRECT';elseif(isInNet(ip,'58.192.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'58.194.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'58.196.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'58.198.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'
6、58.200.0.0','255.248.0.0'))return'DIRECT';elseif(isInNet(ip,'59.64.0.0','255.252.0.0'))return'DIRECT';elseif(isInNet(ip,'59.68.0.0','255.252.0.0'))return'DIRECT';elseif(isInNet(ip,'59.72.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'59.74.0.0','255.254.0.0'))return'DIRECT'
7、;elseif(isInNet(ip,'59.76.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'59.77.0.0','255.255.0.0'))return'DIRECT';elseif(isInNet(ip,'59.78.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'110.64.0.0','255.254.0.0'))return'DIRECT';elseif(isInNet(ip,'111.114.0.0','255.25
8、4.0.0'))return'DIRECT';elseif(isI