Get to know MDN better
Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
The PluginArray interface is used to store a list of Plugin objects; it's returned by the navigator.plugins property. The PluginArray is not a JavaScript array, but has the length property and supports accessing individual items using bracket notation (plugins[2]), as well as via item(index) and namedItem("name") methods.
Note: Own properties of PluginArray objects are no longer enumerable in the latest browser versions.
The number of plugins in the array.
Returns the Plugin at the specified index into the array.
PluginArray.namedItemReturns the Plugin with the specified name.
PluginArray.refreshRefreshes all plugins on the current page, optionally reloading documents.
The following example function returns the version of the Shockwave Flash plugin.
The following example displays information about the installed plugin(s).
| HTML # pluginarray |
Enable JavaScript to view this browser compatibility table.
In addition to listing each plugin as a pseudo-array by zero-indexed numeric properties, Firefox provides properties that are the plugin name directly on the PluginArray object.
This page was last modified on Nov 5, 2024 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.