Skip to content

Instantly share code, notes, and snippets.

function FindProxyForURL(url, host) {
// Check if the hostname matches 'tva.nordea.com'
if (dnsDomainIs(host, "tva.nordea.com")) {
return "PROXY 34.77.56.122:3128";
}
if (dnsDomainIs(host, "whatismyip.com")) {
return "PROXY 34.77.56.122:3128";
}
return "DIRECT";

Keybase proof

I hereby claim:

  • I am carmelid on github.
  • I am carmelid (https://keybase.io/carmelid) on keybase.
  • I have a public key ASCHt_41pPR2EU_RKogrNIPi7-Kl7xQRr-0wivqpfU7aAgo

To claim this, I am signing this object: