diff --git a/proxy.pac b/proxy.pac index f5034aa..beb28eb 100644 --- a/proxy.pac +++ b/proxy.pac @@ -29,6 +29,21 @@ else { return "SOCKS5 proxy.vm:1080"} +else +//youtube + + if ( + (shExpMatch(host, "youtube.com")) || + (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, "googleapis.com")) + ) + + { return "SOCKS5 proxy.vm:1080"} else { // Default: no proxy,