Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
my mozilla pac settings
function FindProxyForURL(url, host) {
host = host.toLowerCase();
if (dnsDomainIs(host, "linkedin.com") ||
dnsDomainIs(host, "rutracker.org") ||
dnsDomainIs(host, "ipleak.net") ||
dnsDomainIs(host, "telegram.org") ||
dnsDomainIs(host, "t.me") ||
dnsDomainIs(host, "telegra.ph") ||
dnsDomainIs(host, "psb4ukr.org") ||
dnsDomainIs(host, "plus.pl") ||
dnsDomainIs(host, "b-ok.xyz") ||
dnsDomainIs(host, "muziker.cz") ||
dnsDomainIs(host, "tdesktop.com"))
return "PROXY localhost:8118"; // (IP:port) // privoxy
return "DIRECT";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment