DHTML Collections
Netscape Navigator® 3 up only.
Returns a reference to the collection of all plug-ins currently installed on the user's browser.
[ collPlugins = ] navigator.plugins |
[ oObject = ] navigator.plugins ( iIndex ) |
collPlugins |
Reference to an array of elements contained by the object. |
oObject |
Reference to an individual item in the array of elements contained by the object. |
iIndex |
Integer indicating the item to be returned. |
plugins is an array of all plug-ins currently installed on the client. Each element of the array is a plugin object, which has properties for its name, file name, and description as well as an array of mimeType objects for the MIME types supported by that plug-in. The user can obtain a list of installed plug-ins by choosing About Plug-ins from the Help menu.
For example, the following table summarizes the values for the LiveAudio plug-in.
Expression |
Value |
navigator.plugins [ 'LiveAudio' ].name |
LiveAudio |
navigator.plugins [ 'LiveAudio' ].description |
LiveAudio - Netscape Navigator sound playing component |
navigator.plugins [ 'LiveAudio' ].filename |
d:\nettools\netscape\nav30\Program\plugins\NPAUDIO.DLL |
navigator.plugins [ 'LiveAudio' ].length |
7 |
The collection is an alias for the embeds collection on the document. This property retrieves an empty collection in Internet Explorer®.
navigator