CORS
Safe to use with polyfillhtmlCORS, or cross-origin resource sharing, enables a few things, but most notably cross-domain AJAX.
- Verdict
- Safe to use
- Category
- HTML features
- Browser support
- Can I Use
- Works in
- all modern browsers
Should you use CORS in 2026?
All non-IE browsers have support for CORS. IE8 introduced [XDomainRequest][], so really only IE7 needs help with cross-domain files. Consider the flXHR polyfill or you can fall back to using a simple proxy.
[XDomainRequest]: https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest
Polyfills and fallbacks
flXHR (requires crossdomain.xml)
Please