title: IE10 and IE11 SCRIPT5 Acess is Denied error when attempting a CORS request using XMLHttpRequest
body: <p>I'm not using jquery, just vanilla javascript.  My site is hosted on a domain, let's say it's example.com</p>
  
  <p>When running the following code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var xhr = new XMLHttpRequest();
  xhr.open('GET', 'http://www.example2.com', true);</code></pre>
  </div>
  </div>
  </p>
  
  <p>I get an error:</p>
  
  <blockquote>
    <p>SCRIPT5: Access is denied</p>
  </blockquote>
  
  <p>This code works fine in other browsers (chrome, safari).</p>
  
  <p>Also, this only seems to break when running it on my site.  When I run that snipped of code from the IE 11 console, on other sites around the web, the error does not occur.</p>
  
  <p>Do I need to set any specific headers on the site that's hosting the script? Or on the site that's loading the script?</p>