Skip to content

Instantly share code, notes, and snippets.

@RSO
Last active November 12, 2018 13:08
Show Gist options
  • Save RSO/5d41f8144561901d98859ba20082bd58 to your computer and use it in GitHub Desktop.
Save RSO/5d41f8144561901d98859ba20082bd58 to your computer and use it in GitHub Desktop.
function FindProxyForURL(url, host) {
var site_list = [
"localhost",
"127.0.0.1",
"ci.inverselink.com",
"sentry.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