November 17, 2006

Alternate way to view source

This is really good Tip. What do we do when we want to view source of a web page? we right click the page and select view source, which will open the source in the source editor you have configured.

Just type the below mentioned line in the address bar of the IE.

javascript:'<xmp>'+window.document.body.outerHTML+'</xmp>';

This will list the source of the page in the same window of the web page.