Chrome Gets MHTML Support – Save and View Files in .mht Format

by Dinu on 25/05/2011

Recently WebKit added support for MHTML and Chrome has incorporated it too, since webkit is used in Chrome too.”Enabling MHTML reading on the Chrome side now that the WebKit patchadding support for MHTML landed in WebKit.That is necessary for the MHTML layout tests to pass.” says a recent commit in Chromium.

chrome news  Chrome Gets MHTML Support   Save and View Files in .mht Format

Mhtml

 

What is MHTML

“MHTML, short for MIME HTML, is a web page archive format used to combine resources that are typically represented by external links (such as images, Flash animations, Java applets, audio files) together with HTML code into a single file.” wiki says.

Have you ever tried saving a webpage ? The file will save as .html and then a folder will be created along with it which will have all files from that web page, say, images and other graphics. Can this be saved as a single file ? Yes, that is our MHTML, with a .mht extension.

MHTML Support in Modern Browsers

IE : The .mht format was introduced in 1999 with Internet Explorer 5. In Internet Explorer 8 and Internet Explorer 9 Beta, the default saving format for the “Save as” function is MHTML.

Opera : Supports this from v.9

Firefox : Mozilla Firefox requires an extension to be installed to read and write MHT files

Safari : Does not support .mht as of now. However, the feature is added to webkit now, so we will soon see Safari supporting this file format.

more info on the wikipage.

acupuncture May 25, 2011 at 7:37 pm

I’ve been wanting this feature in Chrome for a long time. I’ve been using an extension to save as one file–does a decent job but not able to view in all other browsers.

Dinu May 25, 2011 at 7:57 pm

cool :)

Kiran @ KiranTarun.com May 26, 2011 at 4:53 am

From HTML to MHTML? Too much change for a girl missing from blogosphere for a few days now :D

zoki May 28, 2011 at 3:45 pm

I don’t get it. Should I re-install my browser, will they offer it as an update, or what? I’m using version 11.0.696.71 and it doesn’t support saving as or viewing .mht files.
I have sh*tload of saved documents as .mht (since before I started to use Chrome), would find this new feature extremely helpful!

b. June 14, 2011 at 11:35 pm

So when exactly is this rolling down the line? I’m using 12.0.742.91 beta-m and i’m not seeing this anywhere…?

Boldi August 11, 2011 at 3:16 pm

I’m using version 13 stable and i’m not seeing this anywhere! :(

Andys August 16, 2011 at 3:05 pm

I am using latest dev chromium (15.x) and it can not view mht files. Seems like everyone’s shouting about it but no one adds this function into code.

redfish October 12, 2011 at 7:59 pm

Web browsers need an easy function to combine multiple web pages into a single MHTML, so you could do as much as archive a whole site. How about “Add to existing MHTML” ?

BUGHUNTER November 4, 2011 at 7:03 pm

How is this done exactly in chrome 15? I can not see an option to do it. Did the author try it – then please tell us, how you saved or open mhtml files, thanks!

Ramon0 January 10, 2012 at 3:33 pm

Google Chrome is up to date (16.0.912.75)

And still no trace about this (so!) needed feature… And, to top it off, you (and many other blogs) get my hopes up for nothing :(

Comments on this entry are closed.

{ 3 trackbacks }

Previous post:

Next post: