Name

plugins — NN 3 IE 4 DOM n/a

Synopsis

Navigator and Internet Explorer both have a plugins array, but they are quite different collections of objects. Navigator’s plugins array is a property of the navigator object. Each item in the navigator.plugins array represents a plugin that is installed in the browser (actually just registered with the browser when the browser last loaded). See the plugin object.

Internet Explorer’s plugins collection belongs to the document object and essentially mirrors the embeds collection: a collection of all EMBED elements in the document. An EMBED element may well, indeed, launch a plugin, but not necessarily. Nor does Internet Explorer provide JavaScript access to the installed plugins in the same way that Navigator does.

Object Model Reference

NN

navigator.plugins

IE

document.plugins

Properties

length

    

Methods

item( )

  

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.