The mechanism used by MozzIE to switch from the MSHTML Active Document to MozzIE is the one documented by Microsoft. It is a very open and easy to use technique that is well documented.
The technique and restrictions are well documented in this article
Changes to Functionality in Microsoft Windows XP Service Pack 2
As part of this we handle the following mime content types:
- xhtml+xforms - application/xhtml+xml
- xul - application/vnd.mozilla.xul+xml
- svg - image/svg+xml
So it is critical that web site authers wanting to use MozzIE set the content type correctly for the pages being served. Apache based servers do this fairly well, MS IIS sites need a bit of configuration however.
Possibly we will support more mime types as the project progresses. One idea is to add a custom page to the installer that allows an experienced user to select the mime types to be handled by MozzIE and those that stay with IE.
One issue not yet resolved is that when a file is opened, IE does doctype sniffing and sees most things as XML rather than using the content handler. We are working to find a solution to this, for now the only option is to download the file.
1 comments:
Excellent post, must have read my mind. I was getting ready to just ask about this. Perhaps it would be valuable instead of the install option have a preference page that would enable a user to change content type / MozzIE enablement.
Post a Comment