Skip to content

Instantly share code, notes, and snippets.

@roberto68
Last active May 14, 2016 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roberto68/64c0415347bd8e7dffcb9f53d053e960 to your computer and use it in GitHub Desktop.
Save roberto68/64c0415347bd8e7dffcb9f53d053e960 to your computer and use it in GitHub Desktop.
function FindProxyForURL(url, host) {
// var proxies = [112.65.200.211:80, 58.21.64.176:8888, 123.56.228.224:8080];
if (shExpMatch(url, "http://www.music.163.com*")) {
return "PROXY 112.16.87.160:8003";
}
else{
return "DIRECT";
}
}
// 223.252.199.7 = music.163.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment