Last active
January 20, 2021 11:37
-
-
Save chan-vince/562fb6e057f76316a59dd0619df76949 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function FindProxyForURL(url, host) { | |
proxy = "SOCKS 127.0.0.1:9999;SOCKS5 127.0.0.1:9999" | |
if (isInNet(host, "10.99.99.0", "255.255.255.0") || | |
(shExpMatch(host, "confluence.mclaren.com")) || | |
(shExpMatch(host, "vhmclpe1cs.mcl.rot.hec.sap.biz")) || | |
(shExpMatch(host, "simstash.mat.tagmclarengroup.com"))) { | |
return proxy; | |
} | |
return "DIRECT"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment