aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/document/plugins
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/api/document/plugins
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/web/api/document/plugins')
-rw-r--r--files/zh-cn/web/api/document/plugins/index.html52
1 files changed, 52 insertions, 0 deletions
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
+---
+<div>{{APIRef("DOM")}}</div>
+
+<div>{{domxref("Document")}}接口的<strong>插件</strong>只读属性返回一个{{domxref("HTMLCollection")}} 对象,该对象包含一个或多个{{domxref("HTMLEmbedElement")}}s表示当前文档中的{{HTMLElement("embed")}} 元素。</div>
+
+<div> </div>
+
+<div class="note">对于已安装的插件列表,请使用 <a href="https://developer.mozilla.org/en-US/docs/Web/API/NavigatorPlugins/plugins">NavigatorPlugins.plugins</a> 插件。</div>
+
+<h2 id="Syntax" name="Syntax">语法</h2>
+
+<pre class="syntaxbox"><var>embedArrayObj</var> = document.plugins
+</pre>
+
+<h3 id="值">值</h3>
+
+<p>一个 {{domxref("HTMLCollection")}}, 如果文档中没有嵌入则为null。</p>
+
+<h2 id="Specifications" name="Specifications">规范</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">规范</th>
+ <th scope="col">状态</th>
+ <th scope="col">注释</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', '#dom-document-plugins', 'Document.plugins')}}</td>
+ <td>{{ Spec2('HTML WHATWG') }}</td>
+ <td> </td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="See_also" name="See_also"><font><font>浏览器兼容性</font></font></h2>
+
+
+
+<p>{{Compat("api.Document.plugins")}}</p>
+
+<h2 id="See_also" name="See_also"><font><font>另请参见</font></font></h2>
+
+<ul>
+ <li><a href="https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/ms537477(v=vs.85)">MSDN documentation</a></li>
+</ul>