From b168d958c69da0f0e8d03120216fe53ecdc0c569 Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 30 Aug 2024 10:15:53 +0300 Subject: [PATCH] chatgpt --- proxy.pac | 54 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/proxy.pac b/proxy.pac index 66c0d83..045ff91 100644 --- a/proxy.pac +++ b/proxy.pac @@ -4,28 +4,27 @@ function FindProxyForURL(url, host) { if ((shExpMatch(host, "linkedin.com")) || (shExpMatch(host, "www.linkedin.com"))) - { return "SOCKS5 proxy.vm:1080" } + { return "SOCKS5 proxy.vm:1080" } else //rutracker.org if ((shExpMatch(host, "rutracker.org")) || (shExpMatch(host, "*.rutracker.*"))) - { return "SOCKS5 proxy.vm:1080"} + { return "SOCKS5 proxy.vm:1080"} else //kinozal.tv if ((shExpMatch(host, "kinozal.tv")) || - (shExpMatch(host, "www.kinozal.tv")) || - (shExpMatch(host, "dl.kinozal.tv"))) + (shExpMatch(host, "*.kinozal.tv"))) - { return "SOCKS5 proxy.vm:1080"} + { return "SOCKS5 proxy.vm:1080"} else //ntc.party if (shExpMatch(host, "ntc.party")) - { return "SOCKS5 proxy.vm:1080"} + { return "SOCKS5 proxy.vm:1080"} else //instagram @@ -34,28 +33,37 @@ else (shExpMatch(host, "instagram.com")) || (shExpMatch(host, "*.cdninstagram.com"))) - { return "SOCKS5 proxy.vm:1080"} + { 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"))) + 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"} + { return "SOCKS5 proxy.vm:1080"} + + +else +//chatgpt + + if ((shExpMatch(host, "chatgpt.com")) || + (shExpMatch(host, "*.chatgpt.com"))) + + { return "SOCKS5 proxy.vm:1080"} else { // Default: no proxy,