plugins property

PluginArray get plugins

Returns a PluginArray object, listing the Plugin objects describing the plugins installed in the application. Named properties of the returned object are not enumerable (except in very old browser versions).

Recent versions of the specification hard-code the returned list. If inline viewing of PDF files is supported the property lists five standard plugins. If inline PDF viewing is not supported then an empty list is returned.

Note: Use Navigator.pdfViewerEnabled to determine if inline viewing of PDF files is supported. Do not infer it from this property.

The "five standard plugins" are those that developers have most commonly used to feature detect inline PDF viewing. Returning these ensures that legacy code can more reliably determine whether inline viewing is supported. However this approach is not recommended for new code because this property may eventually be removed.

Legacy browser versions also list plugins for Adobe Flash and PDF viewer extensions.

Implementation

external PluginArray get plugins;