Показать сообщение отдельно
  #2 (permalink)  
Старый 15.01.2013, 02:55
что-то знаю
Отправить личное сообщение для devote Посмотреть профиль Найти все сообщения от devote
 
Регистрация: 24.05.2009
Сообщений: 5,176

Возможности отловить редирект к сожалению пока нет, данную возможно планируют добавить в будущих версиях спецификации http://www.w3.org/TR/2008/WD-XMLHttp...15/#notcovered
Цитата:
This specification does not include the following features which are being considered for a future version of this specification:

load event and onload attribute;
error event and onerror attribute;
progress event and onprogress attribute;
abort event and onabort attribute;
Timers have been suggested, perhaps an ontimeout attribute;
Property to disable following redirects;
responseXML for text/html documents;
Cross-site XMLHttpRequest;
responseBody to deal with byte streams;
overrideMimeType to fix up MIME types;
getRequestHeader() and removeRequestHeader().
__________________
хм Russians say завтра but завтра doesn't mean "tomorrow" it just means "not today."
HTML5 history API рассширение для браузеров не поддерживающих pushState, replaceState
QSA CSS3 Selector Engine
Ответить с цитированием