function FindProxyForURL(url, host) { if (dnsDomainIs(host, ".collab.net")) { return "SOCKS localhost:1080; DIRECT"; } else { return "DIRECT"; } }