Detect browser support for cross-domain XMLHttpRequests?

Posted by David Wolever on Stack Overflow See other posts from Stack Overflow or by David Wolever
Published on 2009-10-29T03:46:28Z Indexed on 2010/05/04 18:08 UTC
Read the original article Hit count: 187

I'm working on some Javascript that makes use of Firefox 3.5's ability to perform cross-domain XMLHttpRequests… But I'd like to fail gracefully if they aren't supported.

Apart from actually making a cross-domain request, is there any way to detect a browser's support for them?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about cross-domain