Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function FindProxyForURL(url, host)
- {
- proxies = [
- ["127.0.0.1:4444", "i2p"],
- ["127.0.0.1:9050", "onion"],
- ["proxy.antizapret.prostovpn.org:3128",
- "anilist.co",
- "desuchan.net",
- "neko-sentai.com",
- "nihonomaru.com",
- "sankakucomplex.com"
- ],
- ["caelum-gw.chickenkiller.com:8080",
- "gelbooru.com"
- ]
- ];
- for (var x = 0; x < proxies.length; x++)
- for (var y = 1; y < proxies[x].length; y++)
- if (host == proxies[x][y] || shExpMatch(host, "*." + proxies[x][y]))
- return "PROXY " + proxies[x][0];
- return "DIRECT";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement