Autotmaitc Configration Script дает возможность автомотически переключатьса на дрогой сервер как только настояший proxy сдыхает.
пример:
- Код: Выделить всё
function FindProxyForURL(url, host)
{
if (shExpMatch (host, "*corbina.tv*"))
return "PROXY 80.72.113.15:3128; PROXY 193.232.27.246:3124; PROXY 195.175.37.8:80;";
return "DIRECT";
}
1. Save this file to C:\tv.pac.
2. Open Internet Explorer.
3. Go to Tools->Internet Options->Connections->LAN Settings
4. Make sure that only "Use automatic configuration script" is checked.
5. Put "file://C:\tv.pac" (without quotes) into the Address field.
6. Ok, Ok.
7. Open Windows Media Player
8. Go to Tools->Options->Network
9. Make sure that only HTTP is checked.
10. Select HTTP under "Streaming proxy settings" and press "Configure"
11. Select "Use proxy settings of the Web browser"
12. Make sure that the list under the "Streaming proxy settings" now says:
HTTP - Browser
MMS - None
RTSP - None
13. Press OK.
Теперь если 13 для вас хорошeе число, когда вы попробуете подключитьса к corbina.tv streams, Windows Media Player будит сам пробовать один прокси за другим, пока не найдет рабочий. Добовляйте прокси в список в tv.pac по надобности.
Удачи!!!