From 1d3465f59f2dbc3a175dd8b6855f1e7eee62f2c7 Mon Sep 17 00:00:00 2001 From: Anton Date: Tue, 17 Sep 2024 14:53:00 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=83=D1=84=D0=B3=D0=B5=D1=88=D0=B0?= =?UTF-8?q?=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxy.pac | 99 +++++++++++++++++++++++++------------------------------ 1 file changed, 44 insertions(+), 55 deletions(-) diff --git a/proxy.pac b/proxy.pac index 6473e8a..36abffe 100644 --- a/proxy.pac +++ b/proxy.pac @@ -1,106 +1,95 @@ function FindProxyForURL(url, host) { //Linkedin domains - if ((shExpMatch(host, "linkedin.com")) || - (shExpMatch(host, "www.linkedin.com"))) - - { return "SOCKS5 proxy.vm:1080" } + if ((shExpMatch(host, "linkedin.com")) || + (shExpMatch(host, "www.linkedin.com"))) + { return "SOCKS5 proxy.vm:1080" } else //rutracker.org - if ((shExpMatch(host, "rutracker.org")) || - (shExpMatch(host, "*.rutracker.*"))) - - { return "SOCKS5 proxy.vm:1080"} + if ((shExpMatch(host, "rutracker.org")) || + (shExpMatch(host, "*.rutracker.*"))) + { return "SOCKS5 proxy.vm:1080"} else //kinozal.tv - if ((shExpMatch(host, "kinozal.tv")) || - (shExpMatch(host, "*.kinozal.tv"))) - - { return "SOCKS5 proxy.vm:1080"} + if ((shExpMatch(host, "kinozal.tv")) || + (shExpMatch(host, "*.kinozal.tv"))) + { return "SOCKS5 proxy.vm:1080"} else //ntc.party - if (shExpMatch(host, "ntc.party")) - - { return "SOCKS5 proxy.vm:1080"} + if (shExpMatch(host, "ntc.party")) + { return "SOCKS5 proxy.vm:1080"} else //instagram - if ((shExpMatch(host, "*.instagram.com")) || - (shExpMatch(host, "instagram.com")) || - (shExpMatch(host, "*.cdninstagram.com"))) - - { return "SOCKS5 proxy.vm:1080"} + if ((shExpMatch(host, "*.instagram.com")) || + (shExpMatch(host, "instagram.com")) || + (shExpMatch(host, "*.cdninstagram.com"))) + { return "SOCKS5 proxy.vm:1080"} else //youtube - if ((shExpMatch(host, "youtube.com")) || - (shExpMatch(host, "*.youtube.com")) || - (shExpMatch(host, "*.youtu.be")) || - (shExpMatch(host, "youtu.be")) || - (shExpMatch(host, "*.ytimg.com")) || - (shExpMatch(host, "*.ggpht.com")) || - (shExpMatch(host, "*.googleusercontent.com")) || - (shExpMatch(host, "*.googlevideo.com")) || - (shExpMatch(host, "google.com")) || - (shExpMatch(host, "*.google.com")) || - (shExpMatch(host, "*.google.com")) || - (shExpMatch(host, "*.yt.be")) || - (shExpMatch(host, "yt.be")) || - (shExpMatch(host, "*.l.google.com")) || - (shExpMatch(host, "l.google.com"))) - - { return "SOCKS5 proxy.vm:1080"} + if ((shExpMatch(host, "youtube.com")) || + (shExpMatch(host, "*.youtube.com")) || + (shExpMatch(host, "*.youtu.be")) || + (shExpMatch(host, "youtu.be")) || + (shExpMatch(host, "*.ytimg.com")) || + (shExpMatch(host, "*.ggpht.com")) || + (shExpMatch(host, "*.googleusercontent.com")) || + (shExpMatch(host, "*.googlevideo.com")) || + (shExpMatch(host, "google.com")) || + (shExpMatch(host, "*.google.com")) || + (shExpMatch(host, "*.google.com")) || + (shExpMatch(host, "*.yt.be")) || + (shExpMatch(host, "yt.be")) || + (shExpMatch(host, "*.l.google.com")) || + (shExpMatch(host, "l.google.com"))) + { return "SOCKS5 proxy.vm:1080"} else //chatgpt - if ((shExpMatch(host, "chatgpt.com")) || - (shExpMatch(host, "*.chatgpt.com"))) - - { return "SOCKS5 proxy.vm:1080"} + if ((shExpMatch(host, "chatgpt.com")) || + (shExpMatch(host, "*.chatgpt.com"))) + { return "SOCKS5 proxy.vm:1080"} else //cisco -if ((shExpMatch(host, "cisco.com")) || -(shExpMatch(host, "*.cisco.com"))) - + if ((shExpMatch(host, "cisco.com")) || + (shExpMatch(host, "*.cisco.com"))) { return "SOCKS5 proxy.vm:1080"} else //medium -if ((shExpMatch(host, "medium.com")) || -(shExpMatch(host, "*.medium.com"))) - + if ((shExpMatch(host, "medium.com")) || + (shExpMatch(host, "*.medium.com"))) { return "SOCKS5 proxy.vm:1080"} else //homarr -if ((shExpMatch(host, "homarr.dev")) || -(shExpMatch(host, "*.homarr.dev"))) - + if ((shExpMatch(host, "homarr.dev")) || + (shExpMatch(host, "*.homarr.dev"))) { return "SOCKS5 proxy.vm:1080"} else //netgate -if ((shExpMatch(host, "netgate.com")) || -(shExpMatch(host, "*.netgate.com")) || -(shExpMatch(host, "boostymark.com")) || -(shExpMatch(host, "*.boostymark.com"))) - + if ((shExpMatch(host, "netgate.com")) || + (shExpMatch(host, "*.netgate.com")) || + (shExpMatch(host, "boostymark.com")) || + (shExpMatch(host, "*.boostymark.com"))) { return "SOCKS5 proxy.vm:1080"} else