fcasad / cors-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cors-demo

Some historical workarounds (hacks) to the same origin policy for scripts, leading up to CORS

* See commit history *

  1. working example, same origin
  2. CORS error, different origins
  3. iframe / postMessage - workaround
  4. JSONP - workaround
  5. proxy - workaround
  6. enable CORS - solution

About


Languages

Language:JavaScript 70.1%Language:HTML 29.9%