Javascript to scrape its own instance of a page
<p>My javascript foo is a bit weak, is it possible to use javascript to scrape the page its on into a string? I don't want it to make another request for the webpage, I need it to read in itself and any other source sitting on the page which will include a unique token generated for each page request, hence the need for it to read in all data on that instance of the page.</p>

<p>It also needs to be everything on that page, including comments as I would like to create a md5 hash from it, is this possible at all?</p>

<p>The html that needs to be scraped is that representing the DOM after the page initially completes loading.</p>
