"Lasse Reichstein Nielsen" <lr*@hotpop.com> wrote in message
news:wu**********@hotpop.com...
You can enter this URL at the command line, or keep it as a bookmarklet:
javascript:(document.documentElement||document.bod y).innerHTML.replace(/&/g,
"&").replace(/</g,"<").replace(/\n/g,"<br>")
Only works in browsers that support innerHTML.
/L
Very nice. You can even have linenumbers with that:
javascript
:'<code><ol><li>'+(document.documentElem ent||document.body).outerH
TML.replace(/&/g,"&").replace(/</g,"<").replace(/%20%20/g," %20"
).replace(/\n/g,"<li>")+'<\/ol><\/code>';
and browsers that support outerHTML give you that one more tag.)
--I