Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 388467 of PluginArray

  • Revision slug: DOM/PluginArray
  • Revision title: PluginArray
  • Revision id: 388467
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment

Revision Content

{{Not_standard}}

{{ DomRef }}

The PluginArray interface is used to store a list of available plugins; it's returned by the {{ domxref("window.navigator.plugins") }} property.

Properties

Name Description Return Type Availability
{{ domxref("PluginArray.length") }} The number of plugins in the array. Read only. unsigned long DOM 0

Methods

{{ domxref("PluginArray.item") }}
Returns the {{ domxref("Plugin") }} at the specified index into the array.
{{ domxref("PluginArray.namedItem") }}
Returns the {{ domxref("Plugin") }} with the specified name.
{{ domxref("PluginArray.refresh") }}
Refreshes all plugins on the current page, optionally reloading documents.

Revision Source

<p>{{Not_standard}}</p>
<p>{{ DomRef }}</p>
<p>The <code>PluginArray</code> interface is used to store a list of available plugins; it's returned by the {{ domxref("window.navigator.plugins") }}&nbsp;property.</p>
<h3 id="Properties" name="Properties">Properties</h3>
<table class="standard-table">
  <tbody>
    <tr>
      <th>Name</th>
      <th>Description</th>
      <th>Return Type</th>
      <th>Availability</th>
    </tr>
    <tr>
      <td>{{ domxref("PluginArray.length") }}</td>
      <td>The number of plugins in the array. <strong>Read only.</strong></td>
      <td>unsigned long</td>
      <td>DOM&nbsp;0</td>
    </tr>
  </tbody>
</table>
<h3 id="Methods" name="Methods">Methods</h3>
<dl>
  <dt>
    {{ domxref("PluginArray.item") }}</dt>
  <dd>
    Returns the {{ domxref("Plugin") }} at the specified index into the array.</dd>
  <dt>
    {{ domxref("PluginArray.namedItem") }}</dt>
  <dd>
    Returns the {{ domxref("Plugin") }} with the specified name.</dd>
  <dt>
    {{ domxref("PluginArray.refresh") }}</dt>
  <dd>
    Refreshes all plugins on the current page, optionally reloading documents.</dd>
</dl>
Revert to this revision