I need to get the html content of a page using JavaScript, the page could be also on another domain, kind of what does wget but in JavaScript. I want to use it for a kind of web-crawler.
Using JavaScript, how can I get content of a page, provided I have an URL, and get it into a string?