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 458531 of Plugin

  • Revision slug: Web/API/Plugin
  • Revision title: Plugin
  • Revision id: 458531
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment

Revision Content

{{SeeCompatTable}}{{DomRef}}

The Plugin interface provides information about a browser plugin.

Properties

Name Description Return Type Availability
{{domxref("Plugin.description")}} A human readable description of the plugin. Read only. {{domxref("DOMString")}} DOM 0
{{domxref("Plugin.filename")}} The filename of the plugin file. Read only. {{domxref("DOMString")}} DOM 0
{{domxref("Plugin.name")}} The name of the plugin. Read only. {{domxref("DOMString")}} DOM 0
{{domxref("Plugin.version")}} The plugin's version number string. Read only. {{domxref("DOMString")}} {{gecko_minversion_inline("1.9.2")}}

Methods

{{domxref("Plugin.item")}}
Returns the MIME type of a supported content type, given the index number into a list of supported types.
{{domxref("Plugin.namedItem")}}
Returns the MIME type of a supported item.

Revision Source

<div>
  {{SeeCompatTable}}{{DomRef}}</div>
<p>The <code>Plugin</code> interface provides information about a browser plugin.</p>
<h2 id="Properties" name="Properties">Properties</h2>
<table class="standard-table">
  <tbody>
    <tr>
      <th>Name</th>
      <th>Description</th>
      <th>Return Type</th>
      <th>Availability</th>
    </tr>
    <tr>
      <td>{{domxref("Plugin.description")}}</td>
      <td>A human readable description of the plugin. <strong>Read only.</strong></td>
      <td>{{domxref("DOMString")}}</td>
      <td>DOM&nbsp;0</td>
    </tr>
    <tr>
      <td>{{domxref("Plugin.filename")}}</td>
      <td>The filename of the plugin file. <strong>Read only.</strong></td>
      <td>{{domxref("DOMString")}}</td>
      <td>DOM&nbsp;0</td>
    </tr>
    <tr>
      <td>{{domxref("Plugin.name")}}</td>
      <td>The name of the plugin. <strong>Read only.</strong></td>
      <td>{{domxref("DOMString")}}</td>
      <td>DOM&nbsp;0</td>
    </tr>
    <tr>
      <td>{{domxref("Plugin.version")}}</td>
      <td>The plugin's version number string. <strong>Read only.</strong></td>
      <td>{{domxref("DOMString")}}</td>
      <td>{{gecko_minversion_inline("1.9.2")}}</td>
    </tr>
  </tbody>
</table>
<h2 id="Methods" name="Methods">Methods</h2>
<dl>
  <dt>
    {{domxref("Plugin.item")}}</dt>
  <dd>
    Returns the MIME&nbsp;type of a supported content type, given the index number into a list of supported types.</dd>
  <dt>
    {{domxref("Plugin.namedItem")}}</dt>
  <dd>
    Returns the MIME&nbsp;type of a supported item.</dd>
</dl>
Revert to this revision