Displaying a List of Navigator Plug-Ins : PlugIn « Development « JavaScript DHTML






Displaying a List of Navigator Plug-Ins

<html>
<head>
  <script type="text/javascript">
  <!--
    function showWindow(){
      var len = navigator.plugins.length;
      newWin = window.open("", "", "height=400,width=500");
      newWin.document.write("<p>Plug-In Info:</p>");   
      for(var i = 0; i < len; i++){
        newWin.document.write("<li>" + navigator.plugins[i].description + "</li>");
      }
   
      newWin.document.close()
    }
  //-->
  </script>
</head>
<body>
  <form>
    <input type="button" value="Show Plug-In Information" onclick="showWindow()">
  </form>
</body>
</html>

           
       








Related examples in the same category

1. Listing Plug-In Properties
2.Synchronizing Two Plug-Ins
3. Accessing a Plug-In
4.Determining Whether the LiveVideo Plug-In Is Installed
5.JavaScript to enumerate and display all installed plug-ins
6.Displaying Plug-In Information
7.Display PDF using plugin
8.Find pluin for Midi
9.Scan through each plug-in by provided parameters
10.Properties of the Plugin Object