Plugin : Plugin « Document « JavaScript Tutorial






The Plugin object is used to obtain plug-in information from the browser.

The Plugin object contains an array of elements containing the MIME types handled by each plug-in.

PropertyDescription
descriptionRefers to a description of the plug-in
filenameRefers to the filename of a plug-in program
lengthRefers to the number of MIME types supported
nameRefers to the plug-in name


<html>
    <head>
    <title> Example of the Plugin object</title>
    </head>
    <body>
    <script language="JavaScript">
    <!--
    for(i=0; i<navigator.plugins.length; i++){
         document.write(navigator.plugins[i].description);
    }
    -->
    </script>
    </body>
    </html>








14.30.Plugin
14.30.1.Plugin
14.30.2.Plugin.description
14.30.3.Plugin.filename
14.30.4.Plugin.length
14.30.5.Plugin.name
14.30.6.IE Plugin