Unfortunately I don't think browsers handle opening MHTML well out of the box.
At least last time I checked in only worked for local paths (file://) and only some browsers. Otherwise it would either try to download or just show plain text.
I ended up using Chrome to dump to MHTML [1] and then reshuffle the content into individual files, rewriting the path references and fixing mime types [2]. That gives a reasonably faithful static capture of a page that can be shared as link.
At least last time I checked in only worked for local paths (file://) and only some browsers. Otherwise it would either try to download or just show plain text.
I ended up using Chrome to dump to MHTML [1] and then reshuffle the content into individual files, rewriting the path references and fixing mime types [2]. That gives a reasonably faithful static capture of a page that can be shared as link.
[1] https://chromedevtools.github.io/devtools-protocol/tot/Page/... [2] https://github.com/lacop/udrb/blob/master/app/src/chrome/mod...