Saving a web page in it's actual state
Tuesday, April 10, 2012 6:50:52 AM
AFAIK it is not possible to save pages directly from an extension (may be it is possible by base64 encoded == overkill) but this doesn't mean that it is impossible to achieve. Opera has a stepchild that, despite it is getting no love from the UI developers, is quite powerful:
I have created a button that takes the modified source, opens the source view tab, replaces the original page code with the modified code, re-applies it to the web page so that it becomes part of the "real" source code and then opens the save dialog.
This way a modified page can be saved in the state after cleaning, either as HTML or as MHT file.
Here the code of the button for direct install:
gen Src save <- to install click here or drag this link to (almost) any toolbar you like.
The button does does not save form inputs.
Human readable button code:
The source view stays open. I still have not found a way to close that after the save dialog closes.