Skip to content

Instantly share code, notes, and snippets.

@MrwanBaghdad
Last active January 29, 2021 16:23
Show Gist options
  • Select an option

  • Save MrwanBaghdad/7057ef38e6c04e837e85cdaad3d6ff1e to your computer and use it in GitHub Desktop.

Select an option

Save MrwanBaghdad/7057ef38e6c04e837e85cdaad3d6ff1e to your computer and use it in GitHub Desktop.
function FindProxyForURL(url, host){
if(dnsDomainIs(host, 'medium.com') || dnsDomainIs(host, 'codenames.game'))
return "SOCKS 127.0.0.1:5555"
return "DIRECT"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment