Skip to content

CORS

Cross origin resource sharing is a browser standard that lets you get around the script tag or iframe hacks for accessing web service content hosted on another domain.

Here’s the spec: http://www.w3.org/TR/cors/

Firefox and webkit browsers switch to CORS anytime you ask for an XHR to another domain, but the XHR interface is the same.  IE8 has CORS support using a special interface: http://msdn.microsoft.com/en-us/library/cc288060%28VS.85%29.aspx