Plugin

已弃用: 不再推荐使用该特性。虽然一些浏览器仍然支持它,但也许已从相关的 web 标准中移除,也许正准备移除或出于兼容性而保留。请尽量不要使用该特性,并更新现有的代码;参见本页面底部的兼容性表格以指导你作出决定。请注意,该特性随时可能无法正常工作。

Plugin 接口提供了关于浏览器插件的信息。

备注: 在最新的浏览器版本中,Plugin 对象的自有属性不再可枚举。

实例属性

Plugin.description 只读 已弃用

插件的人类可读的描述。

Plugin.filename 只读 已弃用

插件文件的文件名。

Plugin.name 只读 已弃用

插件的名称。

实例方法

Plugin.item 已弃用

根据支持的类型列表中的索引号,返回支持的内容类型的 MIME 类型。

Plugin.namedItem 已弃用

返回支持项的 MIME 类型。

规范

Specification
HTML
# dom-plugin

浏览器兼容性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
Plugin
Deprecated
description
Deprecated
filename
Deprecated
item
Deprecated
length
Deprecated
name
Deprecated
namedItem
Deprecated

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Deprecated. Not for use in new websites.
See implementation notes.