MimeTypeArray object (Object/browser)

A collection of MimeType objects.

Availability:

JavaScript - 1.1
JScript - 3.0
Internet Explorer - 4.0
Netscape - 3.0
JavaScript syntax:-myMimeTypeArray = navigator.mimeTypes
Object properties:length

On MSIE, this array contains an element for each supported MimeType object that the browser can respond to.

Likewise on Netscape, a collection of somewhat different MimeType objects are available.

Warnings:

Example code:

   // Inline this script fragment to display all mime types
   // supported by your browser (except for NNav 6.0 which exhibits
   // a strange bug.
   for(myProp in navigator.mimeTypes)
   {
   document.write(myProp);
   document.write("<BR>");
   }

See also:Collection object, MimeType object, Navigator.mimeTypes[]

PropertyJavaScriptJScriptNIEOperaNESECMADOMCSSHTMLNotes
length1.1 1.13.0 3.03.0 3.04.0 4.0 n/a n/a n/a n/a n/a n/aReadOnly.