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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support YesEdge ? Firefox ? IE ? Opera ? Safari ? WebView Android Full support YesChrome Android Full support YesEdge Mobile ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
descriptionChrome Full support YesEdge ? Firefox ? IE ? Opera ? Safari ? WebView Android Full support YesChrome Android Full support YesEdge Mobile ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
filenameChrome Full support YesEdge ? Firefox ? IE ? Opera ? Safari ? WebView Android Full support YesChrome Android Full support YesEdge Mobile ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
itemChrome Full support Yes
Notes
Full support Yes
Notes
Notes Starting with version 59, method parameters are required instead of optional.
Edge ? Firefox ? IE ? Opera ? Safari ? WebView 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.
Edge Mobile ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
nameChrome Full support YesEdge ? Firefox ? IE ? Opera ? Safari ? WebView Android Full support YesChrome Android Full support YesEdge Mobile ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
namedItemChrome Full support Yes
Notes
Full support Yes
Notes
Notes Starting with version 59, method parameters are required instead of optional.
Edge ? Firefox ? IE ? Opera ? Safari ? WebView 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.
Edge Mobile ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
versionChrome Full support YesEdge ? Firefox ? IE ? Opera ? Safari ? WebView Android Full support YesChrome Android Full support YesEdge Mobile ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

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

Document Tags and Contributors

Last updated by: fscholz,