Type the following into your address bar and press enter.
Internet Explorer
javascript:'<xmp>'+window.document.body.outerHTML+'</xmp>'
Firefox
javascript:'<xmp>'+document.getElementsByTagName('html')[0].innerHTML+'
</xmp>'
Or you can combine these two into one JavaScript statement to make it crossbrowser:
javascript:'<xmp>'+((document.all) ? window.document.body.outerHTML :
document.getElementsByTagName('html')[0].innerHTML)+'</xmp>'
0 comments:
Post a Comment