Skip to content

Instantly share code, notes, and snippets.

@AzimsTech
Last active July 27, 2019 20: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 AzimsTech/e3397c31011ff4d1a6a260d28dd13946 to your computer and use it in GitHub Desktop.
Save AzimsTech/e3397c31011ff4d1a6a260d28dd13946 to your computer and use it in GitHub Desktop.
function FindProxyForURL(url, host) {
// use proxy for specific domains
if (shExpMatch(host, "*.googlevideo.com|*.youtube.com"))
return "PROXY 60.53.193.118:8080";
// by default use no proxy
return "DIRECT";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment