JavaScript Reference/Javascript Collections/plugins 2
Версия от 18:30, 25 мая 2010; (обсуждение)
Содержание
"plugins" Example
<html>
<body>
<button onclick="alert(navigator.plugins.length);">length</button>
<button onclick="alert(navigator.plugins[0].description);">mimetype</button>
<button onclick="alert(navigator. plugins[0].filename);">suffixes</button>
<button onclick="alert(navigator.plugins[0].name);">type</button>
</body>
</html>
"plugins" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |navigator |
+----------------+--------------------------------------------------------------+
"plugins" JavaScript properties and JavaScript methods
JavaScript properties and JavaScript methods
item(), length
"plugins" Syntax Parameters and Note
Note:
Returns an array of all plugin objects available to the navigator object.
Syntax:
navigator.plugins // returns all plugins
navigator.plugins[param1] // returns an individual plugin
Parameters:
param1 Required;