blob: 2e6f7f2ae17c73e51ac6fe0ecc6c2d5cf6a2db45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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>
|