function FindProxyForURL(url, host) { if (isPlainHostName(host)) { return "DIRECT"; } var resolved_ip = dnsResolve(host); if (isInNet(resolved_ip, "10.0.0.0", "255.0.0.0") || isInNet(resolved_ip, "172.16.0.0", "255.240.0.0") || isInNet(resolved_ip, "192.168.0.0", "255.255.0.0") || isInNet(resolved_ip, "127.0.0.0", "255.0.0.0")) { return "DIRECT"; } if (shExpMatch(host, "google.com") || shExpMatch(host, "*.google.com") || shExpMatch(host, "*.googleusercontent.com") || shExpMatch(host, "www.googleapis.com") || shExpMatch(host, "accounts.google.com.sg") || shExpMatch(host, "gstatic.com") || shExpMatch(host, "*.gstatic.com") || shExpMatch(host, "lh3.googleusercontent.com") || shExpMatch(host, "*.microsoft.com") || shExpMatch(host, "*.bing.com") || shExpMatch(host, "bing.com") ) { return "HTTPS si1.komos.cc:19623"; } if (shExpMatch(host, "*.tiktok.com") || shExpMatch(host, "*.fbcdn.net") || shExpMatch(host, "facebook.com") || shExpMatch(host, "*.facebook.com") || shExpMatch(host, "*.appsflyer.com") || shExpMatch(host, "github.com") || shExpMatch(host, "appsflyer.com") || shExpMatch(host, "xdaforums.com") || shExpMatch(host, "*.xdaforums.com") || shExpMatch(host, "developer.chrome.com") || shExpMatch(host, "www.wireguard.com") || shExpMatch(host, "go.dev" || shExpMatch(host, "wikipedia.org")) || shExpMatch(host, "*.wikipedia.org")) { return "HTTPS s2.komos.cc:2333"; } return "DIRECT"; }