Displaying Plug-In Information : PlugIn : Development : JavaScript DHTML examples (example source code) Organized by topic

JavaScript DHTML
C++
PHP
JavaScript DHTML Home »  Development   » [  PlugIn  ]   
 



Displaying Plug-In Information

Please note that some example is only working under IE or Firefox.


/*
Mastering JavaScript, Premium Edition
by James Jaworski 

ISBN:078212819X
Publisher Sybex CopyRight 2001
*/
<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.  The About Plug-Ins Script
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








Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.