Plugin : Plugin : Document JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Document » Plugin »

 

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.























Property Description
description Refers to a description of the plug-in
filename Refers to the filename of a plug-in program
length Refers to the number of MIME types supported
name Refers 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>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Document
» Plugin