News for hackers. Stuff that matters.
Re:SingleFile: Save a complete web page into a single HTML file by rpdillon on Wednesday March 02, 2022 @10:34AM (#30528470)
The browser compatibility section suggests MHTML is unsupported in current versions of Firefox and Safari.
Re:SingleFile: Save a complete web page into a single HTML file by mrspuratic on Wednesday March 02, 2022 @12:13PM (#30529765)
I don't think it was ever native in Firefox, there is/was the excellent unMHT extension that was broken by Quantum/WebExtensions and The Great XUL Silliness. Shame.

I have Waterfox-Classic and unMHT (fished out of the Classic Addons Archive, just remember to turn off Waterfox's multiprocess feature) since I occasionally need to archive web pages - and more importantly, reopen them later.

mhtml is just MIME, literally every discrete URL as a MIME part with its origin in a Content-Location header, all wrapped in a multipart container. I don't understand why it's not a default format.

Re:SingleFile: Save a complete web page into a single HTML file by Groxx on Wednesday March 02, 2022 @03:15PM (#30532424)
I can see WebExtensions breaking it (as it's a completely new set of APIs for extensions, and the losses do definitely still hurt)... but quantum/xul? How is that related, aside from "it happened around the same time"?
Re:SingleFile: Save a complete web page into a single HTML file by mrspuratic on Thursday March 03, 2022 @05:29AM (#30539328)
IANA firefox dev: XUL/XPCOM = old APIs, WebExtensions = new (multi-browser) API

Quantum was the the project name to re-engineer Firefox internals, with lots of design changes, not just plugins. XUL/XPCOM APIs were dropped, as an occasional programmer I understand why, "Quantum broke my plugins" is a reasonable first approximation for most users.

Re:SingleFile: Save a complete web page into a single HTML file by tekknik on Wednesday March 02, 2022 @12:11PM (#30529734)
Safari supports webarchive, which does basically the same thing
Re:SingleFile: Save a complete web page into a single HTML file by gildas on Wednesday March 02, 2022 @12:18PM (#30529829)
The problem is that it is a proprietary format. The advantage of the format produced by SingleFile (HTML) is that as long as your browser is capable of interpreting HTML, you will be able to read your archives without worries.
Re:SingleFile: Save a complete web page into a single HTML file by tekknik on Wednesday March 02, 2022 @01:55PM (#30531249)
Not so proprietary. It's really just a plist file, which the format is known and even open sourced by Apple[1]. Really it's only proprietary in that no other platforms have implemented it.

[1]: https://opensource.apple.com/source/CF/CF-550/CFBinaryPList....