Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q1799 do you have any neat tricks to capture the current page's source?

You are here: irt.org | FAQ | JavaScript | Misc | Q1799 [ previous next ]

Funny you should ask that. Paste the following into the location bar when viewing a page:

javascript:str=document.documentElement.innerHTML;document.write('<textarea rows=20 cols=60>'+str+'</textarea>');

©2018 Martin Webb