DOM:window.navigator.mimeTypes
From MDC
Contents |
[edit] Summary
Returns a MimeTypeArray object, which contains a list of MimeType objects representing the MIME types recognized by the browser.
[edit] Syntax
mimeTypes = navigator.mimeTypes;
mimeTypes is a MimeTypeArray object which has a length property as well as item(index) and namedItem(name) methods.
[edit] Example
alert(window.navigator.mimeTypes.item(0).description); // alerts "Mozilla Default Plug-in"
[edit] Notes
The zeroth element in mimeTypes (the "Mozilla Default Plug-in" MimeType object) has a type property of * instead of a typical MIME format like "image/x-macpaint"
[edit] Specification
DOM Level 0. Not part of any standard.