Displaying Plug-In Information : PlugIn « Development « JavaScript DHTML






Displaying Plug-In Information

<HTML>
<HEAD>
<TITLE>Determining Installed Plug-ins</TITLE>
</HEAD>
<BODY>
<SCRIPT LANGUAGE="JavaScript"><!--
p = navigator.plugins;

for(var i=0;i<p.length;++i){
 with(document){
  writeln('<P><B>Plugin: </B>'+p[i].name+'</P>')
  writeln('<P><B>File name: </B>'+p[i].filename+'</P>')
  writeln('<P><B>Description: </B>'+p[i].description+'</P>')
  writeln('<P><B>MIME Types: </B>')
  for(var j=0;j<p[i].length;++j)
   writeln(p[i][j].type+'</BR>')
  writeln('</P><HR>')
 }
}
// --></SCRIPT>
</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.Display PDF using plugin
7.Find pluin for Midi
8.Scan through each plug-in by provided parameters
9.Displaying a List of Navigator Plug-Ins
10.Properties of the Plugin Object