Disabling same-origin policy in Safari

kpozin picture kpozin · Dec 29, 2010 · Viewed 106.2k times · Source

For development purposes, I need to disable the same-origin policy in Safari (on Windows) on my machine.

In Chrome, this can be done by launching with the flag --disable-web-security. Is there an equivalent flag or hidden setting in Safari?

Answer

ttemple picture ttemple · Jul 6, 2016

If you want to disable the same-origin policy on Safari (I have 9.1.1), then you only need to enable the developer menu, and select "Disable Cross-Origin Restrictions" from the develop menu.