-
Notifications
You must be signed in to change notification settings - Fork 7
/
1.pac
40 lines (40 loc) · 867 Bytes
/
1.pac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
function FindProxyForURL(url, host){
var Proxy="PROXY 127.0.0.1:6080";
var ProxyD="PROXY 127.0.0.1:7890";
var patterns = new Array("steamcommunity.com",
"*.pixiv.net",
"pixiv.net",
"*.secure.pixiv.net",
"pximg.net",
"*.pximg.net",
"wikipedia.org",
"*.wikipedia.org",
"steamcommunity.com",
"*.steamcommunity.com",
"*.steampowered.com",
"steampowered.com",
"cn.pornhub.com",
"e-hentai.org",
"*.e-hentai.org",
"twitch.tv",
"www.twitch.tv",
"*.twitch.tv",
"*.chat.twitch.tv",
"usher.ttvnw.net",
"discordapp.com",
"*.discordapp.com",
"*.discordapp.net",
"*.discord.gg",
"*.steampowered.com",
"*.s3.amazonaws.com",
"*.akamaihd.net",
"*.cdn.ubi.com",
"*.chat.twitch.tv",
"*.uploads-regional.twitch.tv",
"*.help.twitch.tv",
"*.dev.twitch.tv");
for (i in patterns) {
if(shExpMatch(host.toLowerCase(),"*" + patterns[i].toLowerCase() + "*")){return Proxy;};
};
return ProxyD;
}