Open/Save Web pages in MHT using Firefox
For those who don’t know MHT is a compressed format to save webpages into a single file and all images/css/text related to webpage is embedded into a single page(.mht). Firefox does not have support for MHT format maybe because MHT is a Microsoft created format.
But that does not mean Firefox users can’t use it. There was a extension for Firefox earlier known as Mozilla Archive Format. It was working good until Firefox 1.5. But then developer stopped working on it and it does not work on Firefox 2.0.
No Way! There has to be a way out. Why would otherwise I waste a long post telling you about it? Well there is a way out. We will forcibly make it compatible with Firefox 2.0. Here are the easy steps:
1. Download the extension from http://downloads.mozdev.org/maf/maf-0.6.3.xpi
. Download but don’t install. To override Firefox default installer either paste the link in your download manager or open this link in any browser other than Firefox. Since it won’t install on FF saying compatibility problems.
2. Rename the downloaded file maf-0.6.3.xpi to maf-0.6.3.zip
3. Open the zip file using Winzip or any zip utility.
4. Extract install.rdf file
5. Open install.rdf file and find this code:
<!– Firefox –> (此处也需要参考其他扩展xpi文件，是Firefox还是Mozilla)
6. In this change
7. Save install.rdf and put the new install.rdf back in maf-0.6.3.zip replacing the old one.
8. Rename maf-0.6.3.zip to maf-0.6.3.xpi
9. And now open the xpi file with firefox if xpi is not set to open with Firefox. Install the extension and it will work for you.
That’s all. It will work now with your latest Firefox 126.96.36.199 Not Tested on 3.0 alpha release. If anyone can test with 3.0 alpha and post here, I will update the status here.
TIP: you can use this trick to work on any unsupported extension provided code does work on latest firefox too.