Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Save/View Snapshot

Save a snapshot of a webpage, including form data

This script adds a User Script Command to Save Snapshot.

When you click the command you will be prompted to save a file. The file will be the current webpage in its current form, including all changes to the DOM and the current state of all form fields. You will need to rename the saved file and add a .html extension.

Script gets component not available errors on some pages. don't know why.

Script now also adds a User Script Command to view the current DOM ("generated source") as plain text. (This also includes changes to form fields)

Re: Comment about HTML entities. I have no idea. I may mess with it if I get a chance. If you look at the script, all the script is doing is taking the innerHTML of the whole page, URL encoding it, and sticking it in a data URI. I wouldn't know where to start on that one. (Character encoding maybe?)

12/5/2005: No longer adds multiple items to the Commands menu. The script will work on Framesets but not individual (i)frames.






Dec 5, 2005
esno User

This script seems to work as advertised from what I have observed so far except for one thing.

When it tries to save html entities like
∞ i get back %u221E instead of the
html symbol.

any info would be appreciated.

thx,
esno

You could comment on this script if you were logged in.