Document.plugins

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

Document接口的插件只读属性返回一个HTMLCollection 对象,该对象包含一个或多个HTMLEmbedElements 表示当前文档中的<embed> 元素。

备注: 对于已安装的插件列表,请使用 NavigatorPlugins.plugins 插件。

一个 HTMLCollection, 如果文档中没有嵌入则为 null。

规范

Specification
HTML
# dom-document-plugins-dev

浏览器兼容性

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
plugins

Legend

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

Full support
Full support
Partial support
Partial support
Has more compatibility info.

参见