14
proxy.pac
14
proxy.pac
@@ -4,7 +4,11 @@ function FindProxyForURL(url, host) {
|
|||||||
// Domains that should go through the proxy
|
// Domains that should go through the proxy
|
||||||
var proxyDomains = [
|
var proxyDomains = [
|
||||||
"linkedin.com", "www.linkedin.com",
|
"linkedin.com", "www.linkedin.com",
|
||||||
|
"rutracker.org", "*.rutracker.*",
|
||||||
"2ip.ru",
|
"2ip.ru",
|
||||||
|
"kinozal.tv", "*.kinozal.tv",
|
||||||
|
"ntc.party",
|
||||||
|
"instagram.com", "*.instagram.com", "*.cdninstagram.com",
|
||||||
"chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com",
|
"chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com",
|
||||||
"digitalocean.com", "*.digitalocean.com",
|
"digitalocean.com", "*.digitalocean.com",
|
||||||
"cisco.com", "*.cisco.com",
|
"cisco.com", "*.cisco.com",
|
||||||
@@ -21,8 +25,11 @@ function FindProxyForURL(url, host) {
|
|||||||
"turnkeylinux.org", "*.turnkeylinux.org",
|
"turnkeylinux.org", "*.turnkeylinux.org",
|
||||||
"habr.com", "*.habr.com",
|
"habr.com", "*.habr.com",
|
||||||
"giters.com", "*.giters.com",
|
"giters.com", "*.giters.com",
|
||||||
|
"imdb.com", "*.imdb.com",
|
||||||
|
"themoviedb.org", "*.themoviedb.org",
|
||||||
"intel.com", "*.intel.com",
|
"intel.com", "*.intel.com",
|
||||||
"docker.com", "*.docker.com",
|
"docker.com", "*.docker.com",
|
||||||
|
"i-edem.tv", "*.i-edem.tv",
|
||||||
"portainer.io", "*.portainer.io",
|
"portainer.io", "*.portainer.io",
|
||||||
"terraform.io", "*.terraform.io",
|
"terraform.io", "*.terraform.io",
|
||||||
"suse.com","*.suse.com",
|
"suse.com","*.suse.com",
|
||||||
@@ -41,7 +48,8 @@ function FindProxyForURL(url, host) {
|
|||||||
|
|
||||||
// Domains that should go directly (without proxy)
|
// Domains that should go directly (without proxy)
|
||||||
var directDomains = [
|
var directDomains = [
|
||||||
"*.ru"
|
"mail.google.com", "meet.google.com",
|
||||||
|
"zblv.ru", "*.zblv.ru"
|
||||||
];
|
];
|
||||||
|
|
||||||
// Function to check if host matches any pattern
|
// Function to check if host matches any pattern
|
||||||
@@ -54,6 +62,10 @@ function FindProxyForURL(url, host) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ensure anything in the `.vm` domain goes direct
|
||||||
|
if (shExpMatch(host, "*.vm") || shExpMatch(host, "zblv.ru") || shExpMatch(host, "*.zblv.ru")) {
|
||||||
|
return "DIRECT";
|
||||||
|
}
|
||||||
|
|
||||||
// Direct connection for specific domains
|
// Direct connection for specific domains
|
||||||
if (matchesAny(host, directDomains)) {
|
if (matchesAny(host, directDomains)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user