[Solved] Ways to circumvent the same-origin policy

The document.domain method Method type: iframe. Note that this is an iframe method that sets the value of document.domain to a suffix of the current domain. If it does so, the shorter domain is used for subsequent origin checks. For example, assume a script in the document at http://store.company.com/dir/other.html executes the following statement: document.domain = … Read more

[Solved] Same Origin Policy, Javascript/jQuery AJAX and retrieving an RSS XML feed

There are three ways to get around the Same-Origin Policy: Proxy — as Strawberry Sheurbert did, perfectly effective but a waste of bandwidth and computing power JSONP — loading the data through the script tag. Needs cooperation from source website and basically hackish and clumsy. CORS — the “right” way, elegant and nuanced, but needs … Read more