function FindProxyForURL(url, host) { if (shExpMatch(host, "*.example.com")) { return "SOCKS5 127.0.0.1:8442"; } else { return "DIRECT"; } }