GeezerVison is showing developer.mozilla.org — MimeType - Web APIs | MDN
MimeType
Deprecated
Avoid using this feature in new projects.
This feature may be a candidate for removal from web standards or browsers.
The MimeType interface provides contains information about a MIME type associated with a particular plugin. Navigator.mimeTypes returns an array of this object.
- MimeType.type Read only
-
Returns the MIME type of the associated plugin.
- MimeType.description Read only
-
Returns a description of the associated plugin or an empty string if there is none.
- MimeType.suffixes Read only
-
A string containing valid file extensions for the data displayed by the plugin, or an empty string if an extension is not valid for the particular module. For example, a browser's content decryption module may appear in the plugin list but support more file extensions than can be anticipated. It might therefore return an empty string.
- MimeType.enabledPlugin Read only
-
Returns an instance of Plugin containing information about the plugin itself.