Created
February 17, 2015 18:51
-
-
Save banasiak/b391215220d081335a89 to your computer and use it in GitHub Desktop.
PAC 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) | |
{ | |
url = url.toLowerCase(); | |
host = host.toLowerCase(); | |
// whole site | |
var site_list = [ | |
p.ikenex.com | |
]; | |
for(var index = 0;index<site_list.length;index++){ | |
if(host==site_list[index] || | |
shExpMatch(host, "*." + site_list[index])){ | |
return "SOCKS5 127.0.0.1:1080"; | |
} | |
} | |
return "DIRECT"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment