W3cubDocs

/Web APIs

Plugin

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 Plugin interface provides information about a browser plugin.

Note: Own properties of Plugin objects are no longer enumerable in the latest browser versions.

Instance properties

Plugin.description Read only Deprecated

A human-readable description of the plugin.

Plugin.filename Read only Deprecated

The filename of the plugin file.

Plugin.name Read only Deprecated

The name of the plugin.

Instance methods

Plugin.item Deprecated

Returns the MIME type of a supported content type, given the index number into a list of supported types.

Plugin.namedItem Deprecated

Returns the MIME type of a supported item.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
Plugin 1 12 1 4 ≤12.1 1 4.4 18 4 ≤12.1 1 1.0
description 1 12 1 4 ≤12.1 1 ≤37 18 4 ≤12.1 1 1.0
filename 1 12 1 4 ≤12.1 1 ≤37 18 4 ≤12.1 1 1.0
item
1Starting with version 59, method parameters are required instead of optional.
12 1 4 15 4
≤37Starting with version 59, method parameters are required instead of optional.
18Starting with version 59, method parameters are required instead of optional.
4 14 3.2
1.0Starting with Samsung Internet 7.0, method parameters are required instead of optional.
length 1 12 1 11 ≤12.1 1 4.4 18 4 ≤12.1 1 1.0
name 1 12 1 4 ≤12.1 1 ≤37 18 4 ≤12.1 1 1.0
namedItem
1Starting with version 59, method parameters are required instead of optional.
12 1 4 15 4
≤37Starting with version 59, method parameters are required instead of optional.
18Starting with version 59, method parameters are required instead of optional.
4 14 3.2
1.0Starting with Samsung Internet 7.0, method parameters are required instead of optional.

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Plugin