Displaying Plug-In Information : PlugIn : Development JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Development » PlugIn »

 

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>

           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Development
» PlugIn