Skip to content

Instantly share code, notes, and snippets.

@nathan
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathan/25cbb60800c019ad18b4 to your computer and use it in GitHub Desktop.
Save nathan/25cbb60800c019ad18b4 to your computer and use it in GitHub Desktop.
CORS does not apply here
var s = document.createElement('script');
s.src = 'http://dl.dropboxusercontent.com/u/10715865/Temp/new.js';
document.head.appendChild(s);
var xhr = new XMLHttpRequest;
xhr.open('GET', 'http://scratch.mit.edu/projects/editor/', false);
xhr.send();
console.log(xhr.responseText);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment