This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function FindProxyForURL(url, host) { | |
| // Твои данные: IP 31.59.20.176 и порт 6754 | |
| var myProxy = "PROXY 64.137.10.153:5803"; | |
| // Прямое соединение для локальных адресов и сервисов Apple (чтобы Айпад не глючил) | |
| if (isPlainHostName(host) || | |
| dnsDomainIs(host, ".local") || | |
| shExpMatch(host, "*.apple.com") || | |
| shExpMatch(host, "*.icloud.com")) { | |
| return "DIRECT"; |