Retrieve a file from the Internet using Javascript
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/11788758/javascript-or-jquery-get-html-content-from-external-site">Javascript or JQuery get html content from external site</a>  </p>
</blockquote>



<p>I want JavaScript to get a web page, say the Google homepage, and retrieve its (obviously) HTML code. I have no idea of how to do it, mainly because I'm not really into JavaScript-ing. If possible, I'd use solutions which don't require libraries (eg jQuery) or light ones, due to speed issues.</p>
