Created
March 25, 2014 18:58
-
-
Save mabahamo/9768730 to your computer and use it in GitHub Desktop.
Proxy autoconfiguration file
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) { | |
if(shExpMatch(host,"192.168.*")) {return "DIRECT"; } | |
if(shExpMatch(host,"localhost")) {return "DIRECT"; } | |
if(shExpMatch(host,"127.0.0.1")) {return "DIRECT"; } | |
if(shExpMatch(url,"http://*")) { return "PROXY 192.168.15.119:3128";} | |
return "DIRECT"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment