Plugin

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 Status Comment
HTML Living Standard
The definition of 'Plugin' in that specification.
Living Standard Initial definition.

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
PluginChrome Full support YesEdge Full support ≤18Firefox Full support YesIE ? Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
descriptionChrome Full support YesEdge Full support 12Firefox Full support YesIE ? Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
filenameChrome Full support YesEdge Full support 12Firefox Full support YesIE ? Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
itemChrome Full support Yes
Notes
Full support Yes
Notes
Notes Starting with version 59, method parameters are required instead of optional.
Edge Full support 12Firefox Full support YesIE ? Opera Full support YesSafari Full support YesWebView Android Full support Yes
Notes
Full support Yes
Notes
Notes Starting with version 59, method parameters are required instead of optional.
Chrome Android Full support Yes
Notes
Full support Yes
Notes
Notes Starting with version 59, method parameters are required instead of optional.
Firefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
Notes
Full support Yes
Notes
Notes Starting with Samsung Internet 7.0, method parameters are required instead of optional.
nameChrome Full support YesEdge Full support 12Firefox Full support YesIE ? Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
namedItemChrome Full support Yes
Notes
Full support Yes
Notes
Notes Starting with version 59, method parameters are required instead of optional.
Edge Full support 12Firefox Full support YesIE ? Opera Full support YesSafari Full support YesWebView Android Full support Yes
Notes
Full support Yes
Notes
Notes Starting with version 59, method parameters are required instead of optional.
Chrome Android Full support Yes
Notes
Full support Yes
Notes
Notes Starting with version 59, method parameters are required instead of optional.
Firefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
Notes
Full support Yes
Notes
Notes Starting with Samsung Internet 7.0, method parameters are required instead of optional.
versionChrome Full support YesEdge Full support 12Firefox ? IE ? Opera ? Safari ? WebView Android Full support YesChrome Android Full support YesFirefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android Full support Yes

Legend

Full support
Full support
Compatibility unknown
Compatibility unknown
See implementation notes.
See implementation notes.