Skip to content

Instantly share code, notes, and snippets.

Last active Apr 30, 2022
What would you like to do?
function FindProxyForURL(url, host)
if (isPlainHostName(host) || isInNet(host, "", "")) {
return "DIRECT";
} else {
return "SOCKS5 localhost:3128; DIRECT";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment