Skip to content

Instantly share code, notes, and snippets.

View deathstalkr's full-sized avatar
🎯
Focusing

SOLOMON JOHNSON deathstalkr

🎯
Focusing
  • Bangalore, KA, India
  • 05:05 (UTC +05:30)
View GitHub Profile
@deathstalkr
deathstalkr / myProxyScript.pac
Last active July 31, 2024 05:58
Proxy script
function FindProxyForURL(url, host) {
// If the hostname matches specific domains, use corresponding proxies
if (dnsDomainIs(host, ".ultimatix.net")) {
return "PROXY 10.66.18.50:3128";
} else if (dnsDomainIs(host, ".bing.com") && url.includes("/chat")) {
return "PROXY 10.66.18.50:3128";
} else if (dnsDomainIs(host, ".kaggle.com")) {
return "PROXY 10.5.18.50:3128";
} else {
// For all other sites, use the default proxy