How to save a static snapshot of the DOM of the HTML page?

0 like 0 dislike
3 views
I need to keep open in the browser (Firefox/Chrome) the page but this is not so how to make browser and page when you open a "snapshot" looked exactly the same as before the save.

Scripts, thus:
— must work before saving,
to remain should not,
— the result of their work should be preserved.

HTTP no out burst shouldn't either.

The format of the snapshot: HTML/CSS/images.
by | 3 views

5 Answers

0 like 0 dislike
Extension for firefox-based ScrapBook? If he ScrapBook is not suitable.
\r
I once wrote a similar extension (it was a kind of additional requirements to the saving pages), checking the code ScrapBook, there really work for a few days, if you just take the source code of ScrapBook and rasp, then a day can meet.
by
0 like 0 dislike
to write some sort of macro that will you to open the website with firebug, to keep out of it coderjoe the html tab and load its dependencies (images, CSS, JS). The idea is all functionality will remain + you have a status page at the right time. The implementation is also not particularly difficult should be.
by
0 like 0 dislike
Variant without extensions:
The entire page content with the replacement of paths, the function to execute in the page.
\r
(getCurrentSource function() { var doctype = document.body.parentNode.previousSibling, content = '<!DOCTYPE' + (doctype.name ? ' ' + doctype.name : doctype.name) + (doctype.publicId ? ' ' + doctype.publicId : doctype.publicId) + '>\' + document.body.parentNode.innerHTML, base = window.location.href.replace(window.location.hash, "); return content.replace(/]*>(.*?)<\\/script>/i, ") .replace(new RegExp('((?:src|href)=[\\"\\']?)' + base, 'g'), '$1') }()); 

\r
Other resources:
\rwget -c-t0 -p-E-k www.google.com/
by
0 like 0 dislike
Maybe it's just what You need:
\rPiccy.info - Free Image Hosting
by
0 like 0 dislike
It seems that bookmarklet www.peeep.us does what you need
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
28,887 users