Mega Code Archive

 
Categories / JavaScript Tutorial / Navigator
 

Navigator mimeTypes

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>