Change origin: set document.domain to its current domain or a superdomain of its current domain
The same-origin policy controls interactions of 3 categories:
Cross-origin writes
Cross-origin embedding
Cross-origin reads
Relaxing the same-origin policy
document.domain
CORS
Cross-document messaging
JSONP
WebSockets
Broadly, one origin is permitted to send information to another origin, but one origin is not permitted to receive information from another origin.W3C: Same Origin Policy