How to make FireFox save current page from DOM like it used to do?
Up until now when I clicked Save as
in FireFox it used to save the content from DOM. However now that FireFox updated to version 32.0.3 it saves the original html instead and all changes that were made to the page after it was loaded are lost (ie. content from ajax calls).
How do I get the old Save as
functionality back (yes, I need it the way it was)?
Update: I tested Save as
on another machine running FireFox 32.0.3 and had the expected result. I need to conduct further test, to determine how those two are different.
Solution 1:
I found out what was wrong. The saved as type
was switched to *.*
in the save file dialog (for the save as
file option obviously). With this setting on, Firefox was saving the original html. With any of the other settings (including txt) Firefox was saving content from DOM (with all the changes). For a second I was wondering if this is perhaps an undocumented feature, but here it says:
All files: This is equivalent to "Web page, HTML only," but you may specify a file extension (e.g. ".htm" or ".shtml").
Which would makes me believe it's a bug. I mean, it's a bug because the behaviour differs from the "Web page, HTML only" option.
Update: I tested that yesterday and I was quite sure that Web page, HTML only
saved a modified version of the html, yet when I repeated the test on another machine I got the original html file. So the "bug" part might actually be my mistake. Nonetheless, if your firefox saves you the original file instead of the modified content, then make sure that saved as type
is not set to Web page, HTML only
or All files
.