CORS request blocked in locally opened html : <p>I've started to write a HTML file which displays data with JavaScript. Since it shall be done as easy as possible I don't want to run nodejs oder any other local http server. I've just opened the HTML file in a browser (url is file:///home/visu/index.htm).</p>

<p>Everything is fine, till a jquery ajax request to a online API is done in the index.htm. The browser blocks the request with the message: </p>

<pre><code>Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://x.x.x.x. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)."
</code></pre>

<p>How can I get rid of the problem without starting a local http server?</p>

<p>A possible solution is to start the browser with some "no security flags" or disable CORS with plugins, but this I've to do manually all the time so I don't like it.</p>
