任我游GarminMobileT50060 s60v3+V76地图+V5报警点左进修订.docx
任我游GarminMobileT50060 s60v3+V76地图+V5报警点左进修订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' else if (isInNet(ip, '113.54.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '114.212.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '114.214.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '115.24.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '115.154.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '115.156.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '115.158.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '116.13.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '116.56.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '118.202.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '118.228.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '118.230.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '120.94.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '120.95.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '121.48.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '121.52.160.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '121.192.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '121.193.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '121.194.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '121.248.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '122.204.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '125.216.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '125.218.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '125.219.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '125.220.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '125.222.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '162.105.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '166.111.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '175.185.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '175.186.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '180.84.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '180.201.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '180.208.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '183.168.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '183.170.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '183.172.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '202.4.128.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.38.2.0','255.255.254.0') return 'DIRECT' else if (isInNet(ip, '202.38.64.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.38.96.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.38.140.0','255.255.254.0') return 'DIRECT' else if (isInNet(ip, '202.38.184.0','255.255.248.0') return 'DIRECT' else if (isInNet(ip, '202.38.192.0','255.255.192.0') return 'DIRECT' else if (isInNet(ip, '202.112.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '202.113.0.0','255.255.240.0') return 'DIRECT' else if (isInNet(ip, '202.113.16.0','255.255.240.0') return 'DIRECT' else if (isInNet(ip, '202.113.32.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.113.64.0','255.255.192.0') return 'DIRECT' else if (isInNet(ip, '202.113.128.0','255.255.192.0') return 'DIRECT' else if (isInNet(ip, '202.113.192.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.113.224.0','255.255.240.0') return 'DIRECT' else if (isInNet(ip, '202.113.240.0','255.255.240.0') return 'DIRECT' else if (isInNet(ip, '202.114.0.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.114.32.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.114.64.0','255.255.192.0') return 'DIRECT' else if (isInNet(ip, '202.114.128.0','255.255.128.0') return 'DIRECT' else if (isInNet(ip, '202.115.0.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.115.32.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.115.64.0','255.255.192.0') return 'DIRECT' else if (isInNet(ip, '202.115.128.0','255.255.128.0') return 'DIRECT' else if (isInNet(ip, '202.116.0.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.116.32.0','255.255.240.0') return 'DIRECT' else if (isInNet(ip, '202.116.48.0','255.255.240.0') return 'DIRECT' else if (isInNet(ip, '202.116.64.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.116.96.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.116.128.0','255.255.128.0') return 'DIRECT' else if (isInNet(ip, '202.117.0.0','255.255.192.0') return 'DIRECT' else if (isInNet(ip, '202.117.64.0','255.255.192.0') return 'DIRECT' else if (isInNet(ip, '202.117.128.0','255.255.128.0') return 'DIRECT' else if (isInNet(ip, '202.118.0.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.118.32.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.118.64.0','255.255.192.0') return 'DIRECT' else if (isInNet(ip, '202.119.0.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.119.32.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.119.64.0','255.255.240.0') return 'DIRECT' else if (isInNet(ip, '202.119.80.0','255.255.240.0') return 'DIRECT' else if (isInNet(ip, '202.119.96.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.119.128.0','255.255.128.0') return 'DIRECT' else if (isInNet(ip, '202.120.0.0','255.255.192.0') return 'DIRECT' else if (isInNet(ip, '202.120.64.0','255.255.192.0') return 'DIRECT' else if (isInNet(ip, '202.120.128.0','255.255.128.0') return 'DIRECT' else if (isInNet(ip, '202.121.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '202.127.216.0','255.255.248.0') return 'DIRECT' else if (isInNet(ip, '202.127.224.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '202.179.240.0','255.255.240.0') return 'DIRECT' else if (isInNet(ip, '202.192.0.0','255.248.0.0') return 'DIRECT' else if (isInNet(ip, '202.200.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '202.204.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '203.91.120.0','255.255.248.0') return 'DIRECT' else if (isInNet(ip, '203.114.244.0','255.255.252.0') return 'DIRECT' else if (isInNet(ip, '210.26.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '210.28.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '210.32.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '210.36.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '210.40.0.0','255.248.0.0') return 'DIRECT' else if (isInNet(ip, '211.64.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '211.68.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '211.70.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '211.80.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '211.81.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '211.82.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '211.83.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '211.84.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '211.86.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '218.192.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '218.193.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '218.194.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '218.195.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '218.196.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '219.216.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '219.218.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '219.220.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '219.221.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '219.222.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '219.224.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '219.226.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '219.227.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '219.228.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '219.230.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '219.242.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '219.244.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '222.16.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '222.18.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '222.20.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '222.22.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '222.23.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '222.24.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '222.26.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '222.28.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '222.192.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '222.196.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '222.198.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '222.199.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '222.200.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '222.204.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '222.206.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '125.61.160.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '125.61.192.0','255.255.192.0') return 'DIRECT' else if (isInNet(ip, '202.38.146.0','255.255.255.0') return 'DIRECT' else if (isInNet(ip, '210.25.0.0','255.255.128.0') return 'DIRECT' else if (isInNet(ip, '210.25.128.0','255.255.192.0') return 'DIRECT' else if (isInNet(ip, '210.25.192.0','255.255.224.0') return 'DIRECT' else if (isInNet(ip, '210.25.225.0','255.255.255.0') return 'DIRECT' else if (isInNet(ip, '210.25.226.0','255.255.254.0') return 'DIRECT' else if (isInNet(ip, '210.25.228.0','255.255.252.0') return 'DIRECT' else if (isInNet(ip, '210.25.232.0','255.255.248.0') return 'DIRECT' else if (isInNet(ip, '210.25.240.0','255.255.240.0') return 'DIRECT' else if (isInNet(ip, '210.82.118.0','255.255.255.0') return 'DIRECT' else if (isInNet(ip, '27.8.0.0','255.248.0.0') return 'DIRECT' else if (isInNet(ip, '27.36.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '27.40.0.0','255.248.0.0') return 'DIRECT' else if (isInNet(ip, '58.16.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '58.17.0.0','255.255.128.0') return 'DIRECT' else if (isInNet(ip, '58.17.128.0','255.255.128.0') return 'DIRECT' else if (isInNet(ip, '58.18.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '58.19.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '58.20.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '58.21.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '58.22.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '58.100.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '58.116.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '58.128.0.0','255.248.0.0') return 'DIRECT' else if (isInNet(ip, '58.144.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '58.240.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '58.242.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '58.244.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '60.0.0.0','255.248.0.0') return 'DIRECT' else if (isInNet(ip, '60.8.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '60.10.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '60.11.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '60.12.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '60.13.0.0','255.255.192.0') return 'DIRECT' else if (isInNet(ip, '60.13.64.0','255.255.192.0') return 'DIRECT' else if (isInNet(ip, '60.13.128.0','255.255.128.0') return 'DIRECT' else if (isInNet(ip, '60.14.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '60.16.0.0','255.248.0.0') return 'DIRECT' else if (isInNet(ip, '60.24.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(ip, '60.30.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '60.31.0.0','255.255.0.0') return 'DIRECT' else if (isInNet(ip, '60.208.0.0','255.248.0.0') return 'DIRECT' else if (isInNet(ip, '60.216.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '60.218.0.0','255.254.0.0') return 'DIRECT' else if (isInNet(ip, '60.220.0.0','255.252.0.0') return 'DIRECT' else if (isInNet(