viewing generated javascript - 07/13/02 05:59 PM
this pertains mainly to SR, unless any of you remember, what was that little bit of code that your dad came up with that you put in your favorites to view the actual generated html of a site?
javascript: var myWin=window.open("","myWin","width=800,height=600,scrollbars,resizable"); var myStr=document.documentElement.outerHTML; myStr=myStr.replace(/\</g,"<").replace(/\>/g,">").replace(/\r\n/g," "); myWin.document.open(); myWin.document.write(myStr); myWin.document.close();