about-blank-xhr.html 383 B

12345678910
  1. <ol>
  2. <li>Create a new tab.</li>
  3. <li>Navigate that tab to about:blank.</li>
  4. <li>Paste the following into the location bar:
  5. <pre>javascript:x = new XMLHttpRequest(); x.open('get', 'http://jquery.com', false); x.send(); alert(x.responseText)</pre>
  6. </li>
  7. <li>Press "Enter".</li>
  8. <li>If you see the contents of jquery.com appear in an alert dialog, something
  9. has gone wrong.</li>
  10. </ol>