Chromium-based browsers (Chrome, Edge, Brave, etc.) already have great MHTML support. Just right click on a page > "Save as...", and select "Webpage, Single File" in the dialog.
I have actually made a script that looks for image tags in an html file on my computer, looks in the local directory location for them and base64 embeds them in the html file itself, so this seems to simplify the process.
[1] https://docs.google.com/document/d/1FvmYUC0S0BkdkR7wZsg0hLdK...
Are you meaning that these modifications cause the generated MHTML files to become non-standards-compliant?
I wouldn't consider them proprietary though. At least the primary software used to open these files, Chromium, is open-source software.
Maybe that's the reason.
https://connect.mozilla.org/t5/ideas/add-support-of-mhtml-fo...