It's actually possible to do this by introspecting the document's elements via Javascript. But the end product will not be savable unless you write additional server side storage code.
Resource - http://jquery.com/ - $(document).html(); should do the trick.