I have a webapp that I run from localhost (due to debugging) and it executes AJAX requests in the cross-domain space. I can easily set the flag for Chrome to "--disable-web-security", and the webapp works as expected in Chrome. But I need to do this for Safari on Windows as well. Is there any similar flag or can I set it in the settings somewhere?
Thanks for the help.
The solution is to set a header on the server Access-Control-Allow-Origin: *.
Access-Control-Allow-Origin: *
In PHP, it's simple:
header("Access-Control-Allow-Origin: *");
Credit for the answer goes to Brain2000, thanks for offering the link in your comment.