Mega Code Archive

 
Categories / JavaScript Tutorial / Document
 

Plugin

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>