title: IE8 XSS / Jquery problem
body: <p>Everything works perfect in Firefox and Chrome but except in IE8 (8.0.6001.18702)</p>
  
  <p>This is the test code (Jquery 1.4.2) (same problem with $.post):</p>
  
  <pre><code>$(function() {
     $.get("http://domain2.tld/some.php", {}, function(response) {
         alert(response);
     });
  });
  </code></pre>
  
  <p>This code is executed in domain1.tld and it is loaded from domain2.tld, this way:</p>
  
  <pre><code>&lt;script type="text/javascript" src="http://domain2.tld/test.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I'm getting a "Permission denied" message in IE8. I have tried so far without success:</p>
  
  <p>1) adding in domain1.tld (php code): </p>
  
  <pre><code>header("X-XSS-Protection: 0");
  </code></pre>
  
  <p>2) disabling XSS filter in IE8 options. </p>
  
  <p>I'm using IE8 debugger and it shows the error in line 5113:</p>
  
  <pre><code>xhr.open(type, s.url, s.async);
  </code></pre>
  
  <p>If instead of calling $.get(domain2.tld ...), I call $.get(domain1.tld ...) there is no error, which confirms to me that is an XSS "same origin policy" problem.</p>
  
  <p>My only solution (I think) is doing it through a proxy (php code) but I would prefer not to do it as it impacts the performance.</p>
  
  <p>Have someone knows of an alternative/fix to this problem?</p>
  
  <p>Note: Updating IE8 is not an option as I want to test it without updates.</p>
  
  <p>A very similar problem to mine: 
  <a href="http://forum.jquery.com/topic/jquery-ui-tabs-ie8-and-injecting-elements-into-dom" rel="noreferrer">http://forum.jquery.com/topic/jquery-ui-tabs-ie8-and-injecting-elements-into-dom</a></p>