cosmetics
This commit is contained in:
20
proxy.pac
20
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,15 +29,16 @@ 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")) ||
|
||||
if ((shExpMatch(host, "youtube.com")) ||
|
||||
(shExpMatch(host, "*.youtube.com")) ||
|
||||
(shExpMatch(host, "*.youtu.be")) ||
|
||||
(shExpMatch(host, "youtu.be")) ||
|
||||
@@ -47,8 +52,7 @@ else
|
||||
(shExpMatch(host, "*.yt.be")) ||
|
||||
(shExpMatch(host, "yt.be")) ||
|
||||
(shExpMatch(host, "*.l.google.com")) ||
|
||||
(shExpMatch(host, "l.google.com"))
|
||||
)
|
||||
(shExpMatch(host, "l.google.com")))
|
||||
|
||||
{ return "SOCKS5 proxy.vm:1080"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user