I am developing a phonegap / cordova application, it is not bound by the same origin policy of sites that concern me. I use the Chrome browser for quick development, which I can’t do if it is linked by the same origin policy. There is an excellent 3-year answer on how to completely disable cross-origin policies. But having a browser open with completely disabled web security seems like a recipe for disaster.
Since anser is 3 years old, I hope that now there may be a way to disable the same origin policy for each URL. Either that all the web pages on the local host are great for cross origin or that you can always request data from www.example.com and www.otherexample.com?
source
share