Provides information about a browser plugin.

MDN Reference

interface Plugin {
    description: string;
    filename: string;
    length: number;
    name: string;
    item(index: number): null | MimeType;
    namedItem(name: string): null | MimeType;
    [index: number]: MimeType;
}

Indexable

Properties

description: string

Returns the plugin's description.

filename: string

Returns the plugin library's filename, if applicable on the current platform.

length: number

Returns the number of MIME types, represented by MimeType objects, supported by the plugin.

name: string

Returns the plugin's name.

Methods

  • Returns the specified MimeType object.

    Parameters

    • index: number

    Returns null | MimeType

  • Parameters

    • name: string

    Returns null | MimeType