plugin | NN 3 IE n/a DOM n/a | ||
A plugin object
represents a single plugin that is registered with Navigator at
launch time. Access to a single plugin is normally via the
navigator.plugins array. It is also common to use
the navigator.mimeTypes array and associated
properties to uncover whether the browser has the desired plugin
installed before loading external content. Most of the properties
provide scripted access to information normally found in the
| |||
Object Model Reference
|
description | NN 3 IE n/a DOM n/a | ||
Read-only | |||
A brief plain-language description of the plugin supplied by the plugin manufacturer. | |||
Examplevar descr = navigator.plugins[2].description | |||
Value String. | |||
|
filename | NN 3 IE n/a DOM n/a | ||
Read-only | |||
Returns the filename of the plugin binary. In Win32 versions of Navigator, the full pathname is returned; for the Mac, only the filename is returned. | |||
Examplevar file = navigator.plugins[2].filename | |||
Value String. | |||
|
length | NN 3 IE n/a DOM n/a | ||
Read-only | |||
Returns the number of MIME types supported by the plugin. Don't confuse this property with the length property of the entire navigator.plugins array, which measures how many plugin objects are known to the browser. | |||
Examplevar howManyMIMEs = navigator.plugins[2].length | |||
Value Integer. | |||
|
name | NN 3 IE n/a DOM n/a | ||
Read-only | |||
Returns the name of the plugin assigned to it by its manufacturer. You cannot, however, be guaranteed that a plugin designed for multiple operating systems has the same name across all versions. | |||
Examplevar pName = navigator.plugins[2].name | |||
Value Integer. | |||
|
refresh( ) | NN 3 IE n/a DOM n/a |
Instructs the browser to reregister plugins installed in the plugins directory. This allows a browser to summon a newly installed plugin without forcing the user to quit and relaunch the browser. | |
Returned Value None. | |
Parameters None. |