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