Javascript Reference
Categories: plugins

javascript plugins Description

@March 15, 2008, 1:22 a.m.
pluginsFirefox/Netscape/NN 3 IE 4 Chrome/Safari/DOM n/a  

  

Navigator and Internet Explorer both have a plugins array, but they are quite different collections of objects. Navigator's and IE/Macintosh'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.

 

On the Windows side, 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 for Windows provide JavaScript access to the installed plugins in the same way that Navigator does (IE for Macintosh provides no such access).

 
Object Model Reference
 
  • navigator.plugins
  • document.plugins
 
Object-Specific Properties
 
length
 
Object-Specific Methods
 
item( )namedItem( )

Powered by Linode.