W3cubDocs

/DOM

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

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes) ? ? ? ?
Method parameters change from optional to required. 59 ? ? ? ?
Feature Android Webview Chrome for Android Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile
Basic support (Yes) (Yes) ? ? ? ? ?
Method parameters change from optional to required. 59 59 ? ? ? ? ?

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Plugin