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 compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support Yes ? ? ? ? ?
description Yes ? ? ? ? ?
filename Yes ? ? ? ? ?
item Yes
Yes
Starting with version 59, method parameters are required instead of optional.
? ? ? ? ?
name Yes ? ? ? ? ?
namedItem Yes
Yes
Starting with version 59, method parameters are required instead of optional.
? ? ? ? ?
version Yes ? ? ? ? ?
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support Yes Yes ? ? ? ? ?
description Yes Yes ? ? ? ? ?
filename Yes Yes ? ? ? ? ?
item Yes
Yes
Starting with version 59, method parameters are required instead of optional.
Yes
Yes
Starting with version 59, method parameters are required instead of optional.
? ? ? ? ?
name Yes Yes ? ? ? ? ?
namedItem Yes
Yes
Starting with version 59, method parameters are required instead of optional.
Yes
Yes
Starting with version 59, method parameters are required instead of optional.
? ? ? ? ?
version Yes Yes ? ? ? ? ?

© 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