navigator.mimeTypes : Navigator Object « Navigator « JavaScript Tutorial






The mimeTypes obtains a list of all the MIME types supported by the browser.

The returned object is an array containing all supported MIME types.

<html>
    <head>
    <title> Example of the mimetypes property of the navigator object</title>
    </head>
    <body>
    <script language="JavaScript">
    <!--
         document.write(navigator.mimeTypes.length);
    -->
    </script>
    </body>
    </html>








17.1.Navigator Object
17.1.1.navigator
17.1.2.navigator.appCodeName
17.1.3.navigator.appName
17.1.4.navigator.appVersion
17.1.5.navigator.javaEnabled()
17.1.6.navigator.language
17.1.7.navigator.mimeTypes
17.1.8.navigator.mimeTypes[1].description
17.1.9.navigator.mimeTypes[1].type
17.1.10.navigator.platform
17.1.11.navigator.plugins
17.1.12.navigator.plugins[3].description
17.1.13.navigator.plugins.refresh()
17.1.14.navigator.preference()
17.1.15.navigator.taintEnabled()
17.1.16.navigator.userAgent
17.1.17.Associative object arrays of Navigator