From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/api/document/plugins/index.html | 52 +++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 files/zh-cn/web/api/document/plugins/index.html (limited to 'files/zh-cn/web/api/document/plugins/index.html') diff --git a/files/zh-cn/web/api/document/plugins/index.html b/files/zh-cn/web/api/document/plugins/index.html new file mode 100644 index 0000000000..2e6f7f2ae1 --- /dev/null +++ b/files/zh-cn/web/api/document/plugins/index.html @@ -0,0 +1,52 @@ +--- +title: Document.plugins +slug: Web/API/Document/plugins +translation_of: Web/API/Document/plugins +--- +
{{APIRef("DOM")}}
+ +
{{domxref("Document")}}接口的插件只读属性返回一个{{domxref("HTMLCollection")}} 对象,该对象包含一个或多个{{domxref("HTMLEmbedElement")}}s表示当前文档中的{{HTMLElement("embed")}} 元素。
+ +
 
+ +
对于已安装的插件列表,请使用 NavigatorPlugins.plugins 插件。
+ +

语法

+ +
embedArrayObj = document.plugins
+
+ +

+ +

一个 {{domxref("HTMLCollection")}}, 如果文档中没有嵌入则为null。

+ +

规范

+ + + + + + + + + + + + + + + + +
规范状态注释
{{SpecName('HTML WHATWG', '#dom-document-plugins', 'Document.plugins')}}{{ Spec2('HTML WHATWG') }} 
+ +

浏览器兼容性

+ + + +

{{Compat("api.Document.plugins")}}

+ +

另请参见

+ + -- cgit v1.2.3-54-g00ecf