Ken Massey wrote:
Is there any tool available that can output html that corresponds to a
page rendered by a javascript website?
For example, here is a page rendered in javascript:
http://www.michigan-football.com/s/2005/fb05.htm
I'd like to have an html file that would look basically the same.
Thanks.
1. Create a bookmark/favorite
2. Change the url to the following (please excuse wrapping, it should be
one continuous line):
javascript
:'<code><ol><li>'+(document.documentElem ent ||
document.body).innerHTML.replace(/&/g,%22&%22).replace(/</g,
%22<%22).replace(/%20%20/g, %22 %20%22).replace(/\n/g,
%22<li>%22)+'<\/ol><\/code>';
To see the page's HTML, select the bookmark. If you don't want the faux
line numbers, use:
javascript
:'<code>'+(document.documentElement ||
document.body).innerHTML.replace(/&/g,%22&%22).replace(/</g,
%22<%22).replace(/%20%20/g, %22 %20%22).replace(/\n/g,
%22<br>%22)+'<\/code>';
--
Rob