TOC PREV NEXT INDEX

Put your logo here!


plugins


Returns a list of the plugins currently installed.

Syntax

pluginCollection = document.plugins 

Parameters

pluginCollection is an object of the type PluginArray

Example

The following example prints out information about the installed plug-ins for the high-level document. Note that properties available on the plugin object: length (on the array of plug-ins), name, filename, and description.

<script TYPE="text/javascript"> 
<!-- 
var L = navigator.plugins.length 
document.write( L ); 
document.write("Plugins".bold()); 
document.write("<BR>"); 
document.write("Name | Filename | description".bold()); 
document.write("<BR>"); 
for(i=0; i<L; i++){ 
document.write(navigator.plugins[i].name); 
document.write(" | ".bold()); 
document.write(navigator.plugins[i].filename); 
document.write(" | ".bold()); 
document.write(navigator.plugins[i].description); 
document.write("<BR>"); 
} 
//--> 
</script> 
 
 

Notes

None.

Specification

DOM Level 0. Not part of specification.


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX