How to make FireFox save current page from DOM like it used to do?
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Orient Looping
--
Chapters
00:00 How To Make Firefox Save Current Page From Dom Like It Used To Do?
00:40 Accepted Answer Score 6
02:02 Thank you
--
Full question
https://superuser.com/questions/822918/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#firefox #html
#avk47
ACCEPTED ANSWER
Score 6
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
.