MimeType.enabledPlugin

JavaScript 1.1+ Nav3+ Syntax

							mimetype.enabledPlugin

Description

The enabledPlugin property of the MimeType object is used to determine which plug-in is configured for a specific MIME type.

Example

Listing 7.392 shows how the enabledPlugin property is used. A for loop is used to output the first three enabledPlugin values.

Listing 7.392 Accessing the enabledPlugin Property
 <html> <head> <title> Using the enabledPlugin property of the MimeType object</title> </head> <body> <script language="javascript"> <!---Hide // loop through and output enabledPlugin values for (i=0; i < 3; i++) { document.write("MimeType enabledPlugin " + i + " : "); document.writeln(navigator.mimeTypes[i].enabledPlugin); document.write("<br>"); ...

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.