diff --git a/proxy.pac b/proxy.pac index dac8df4..56eb7a8 100644 --- a/proxy.pac +++ b/proxy.pac @@ -1,18 +1,22 @@ function FindProxyForURL(url, host) { //Linkedin domains - if ((shExpMatch(host, "linkedin.com")) || (shExpMatch(host, "www.linkedin.com"))) + 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.*"))) + if ((shExpMatch(host, "rutracker.org")) || + (shExpMatch(host, "*.rutracker.*"))) { return "SOCKS5 proxy.vm:1080"} else //kinozal.tv - if ((shExpMatch(host, "kinozal.tv")) || (shExpMatch(host, "www.kinozal.tv")) || (shExpMatch(host, "dl.kinozal.tv"))) + if ((shExpMatch(host, "kinozal.tv")) || + (shExpMatch(host, "www.kinozal.tv")) || + (shExpMatch(host, "dl.kinozal.tv"))) { return "SOCKS5 proxy.vm:1080"} else @@ -25,30 +29,30 @@ else else //instagram - if ((shExpMatch(host, "*.instagram.com")) || (shExpMatch(host, "instagram.com")) || (shExpMatch(host, "*.cdninstagram.com"))) + 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")) - ) + 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"}