Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How Can I Detect Whether the User's Firefox Supports MHTML?

  • 2 iimpendulo
  • 4 inale ngxaki
  • 2 views
  • Impendulo yokugqibela ngu mikek1965

more options

Is there a browser capability property that I could look at to detect whether the user's version of Firefox (including, for instance, an "unMHT" add-on) supports MHTML? Currently we provide reports to our users in this format and want to provide a link to add-on's in case the user cannot actually view the format; but show the report if the add-on or capability is present.

Is there a browser capability property that I could look at to detect whether the user's version of Firefox (including, for instance, an "unMHT" add-on) supports MHTML? Currently we provide reports to our users in this format and want to provide a link to add-on's in case the user cannot actually view the format; but show the report if the add-on or capability is present.

All Replies (2)

more options

Sorry, you can't detect if a user has unMHT installed.

Have you tested your MHTML files with Firefox and unMHT?
MHTML was never adopted as an official standard by W3C - http://en.wikipedia.org/wiki/MHTML - and from my limited usage of unMHT, it isn't exactly the same as what MS uses with IE. I have had problems displaying a file saved in one browser in another brand browser, and don't remember the specifics beyond IE8 won't correctly display unMHT files even when the file extension is changed from MHT to MHTML. Plus there's a 2nd add-on / extension - Mozilla Archive Format - that some users may have installed for MHTML files.

more options

I am testing right now and it doesn't look too good. What I can pull down in IE8 just fine comes up almost completely blank in Firefox 9 with unMHT installed. It sounds like the whole standard is flaky. We may have to stick with our original plan of just offering PDF to non-IE users.