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.
Properties
-
Plugin.description
Read only -
A human readable description of the plugin.
-
Plugin.filename
Read only -
The filename of the plugin file.
-
Plugin.name
Read only -
The name of the plugin.
-
Plugin.version
Read only -
The plugin's version number string.
Methods
Plugin.item
-
Returns the MIME type of a supported content type, given the index number into a list of supported types.
Plugin.namedItem
-
Returns the MIME type of a supported item.
Specifications
Specification |
---|
HTML Standard (HTML) # dom-plugin |
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 |
1 |
18 |
4 |
≤12.1 |
1 |
1.0 |
description |
1 |
12 |
1 |
4 |
≤12.1 |
≤4 |
≤37 |
18 |
4 |
≤12.1 |
≤3 |
1.0 |
filename |
1 |
12 |
1 |
4 |
≤12.1 |
≤4 |
≤37 |
18 |
4 |
≤12.1 |
≤3 |
1.0 |
item |
1
Starting with version 59, method parameters are required instead of optional.
|
12 |
1 |
4 |
15 |
4 |
≤37
Starting with version 59, method parameters are required instead of optional.
|
18
Starting with version 59, method parameters are required instead of optional.
|
4 |
14 |
3.2 |
1.0
Starting with Samsung Internet 7.0, method parameters are required instead of optional.
|
length |
1 |
12 |
1 |
11 |
≤12.1 |
1 |
1 |
18 |
4 |
≤12.1 |
1 |
1.0 |
name |
1 |
12 |
1 |
4 |
≤12.1 |
≤4 |
≤37 |
18 |
4 |
≤12.1 |
≤3 |
1.0 |
namedItem |
1
Starting with version 59, method parameters are required instead of optional.
|
12 |
1 |
4 |
15 |
4 |
≤37
Starting with version 59, method parameters are required instead of optional.
|
18
Starting with version 59, method parameters are required instead of optional.
|
4 |
14 |
3.2 |
1.0
Starting with Samsung Internet 7.0, method parameters are required instead of optional.
|
version |
No |
12-79 |
3.6 |
4 |
No |
No |
No |
No |
4 |
No |
No |
No |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Plugin