Skip to content

Instantly share code, notes, and snippets.

@michiel3
Forked from RSO/h1.pac
Last active August 30, 2018 17:50
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 michiel3/351862674898610e7e346932d02732a8 to your computer and use it in GitHub Desktop.
Save michiel3/351862674898610e7e346932d02732a8 to your computer and use it in GitHub Desktop.
function FindProxyForURL(url, host) {
var site_list = [
"localhost",
"127.0.0.1",
"ci.inverselink.com",
"payments-production.inverselink.com"
];
if (site_list.includes(host)) {
return "SOCKS5 127.0.0.1:8888";
}
return "DIRECT";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment