Getting the "unmodified" HTML document from Javascript
Posted
by chris_l
on Stack Overflow
See other posts from Stack Overflow
or by chris_l
Published on 2010-06-13T13:55:55Z
Indexed on
2010/06/13
14:02 UTC
Read the original article
Hit count: 143
JavaScript
|html
Is it possible to get the source of the current HTML document, exactly as it was loaded, in text form? (i.e. not the "Generated source" after parsing and DOM manipulation.)
Note: Issuing an extra AJAX request to retrieve the HTML page again is not an option in this case: The document could have changed.
© Stack Overflow or respective owner