This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The MimeType interface provides contains information about a MIME type associated with a particular plugin. NavigatorPlugins.mimeTypes returns an array of this object.


Returns the MIME type of the associated plugin.
Returns a description of the associated plugin or an empty string if there is none.
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 extenions than can be anticipated. It might therefore return an empty string.
Returns an instance of Plugin containing information about the plugin itself.


Specification Status Comment
HTML Living Standard
The definition of 'MimeType' in that specification.
Living Standard Initial definition.

Browser compatibilityUpdate compatibility data on GitHub

Chrome Edge Firefox Internet Explorer Opera Safari
Basic support Yes ? ? ? ? ?
description Yes ? ? ? ? ?
enabledPlugin Yes ? ? ? ? ?
suffixes Yes ? ? ? ? ?
type Yes ? ? ? ? ?
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support Yes Yes ? ? ? ? ?
description Yes Yes ? ? ? ? ?
enabledPlugin Yes Yes ? ? ? ? ?
suffixes Yes Yes ? ? ? ? ?
type Yes Yes ? ? ? ? ?

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.