title: XMLHttpRequest Origin is not allowed by Access-Control-Allow-Origin
body: <p>I'm trying to fetch some simple text over HTTP from JavaScript:</p>
  
  <pre><code>$(function() {
      $.get("http://mydomain.com/path", function(result) {
          console.log(result);
      });
  });
  </code></pre>
  
  <p>The result should be <code>text/html</code>, but is basically only a simple key-value string, no HTML tags whatsoever. The page is in my control, but is supplied by a third-party (closed-source) so I can't modify the Java that serves out this page. </p>
  
  <p>How can I get the contents of this page from JavaScript? </p>