Save/View Snapshot

By jon 1 Last update Nov 10, 2005 — Installed 1,225 times. Daily Installs: 0, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 3, 0, 0
Script Summary:
Save a snapshot of a webpage, including form data
Recently Updated TopicsPosts
Archived Comments2

this script has 1 topic, 2 posts

This script has no reviews.

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.