JavaScript Reference/Javascript Objects/plugin — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
 
м (1 версия)
 
(нет различий)

Текущая версия на 08:22, 26 мая 2010

"plugin" Example

    
<html>
<body>
<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>



"plugin" is applied to

Names noted with an asterisk (*) are JavaScript properties only.
+----------------+--------------------------------------------------------------+
| Applied_To     |plugins*                                                      |
+----------------+--------------------------------------------------------------+



"plugin" JavaScript Properties

+----------------+--------------------------------------------------------------+
| JavaScript     |description                     filename                      |
| Properties     |name                                                          |
+----------------+--------------------------------------------------------------+



"plugin" Syntax and Note

Note:
Provide information about the plugins installed in the browser.
    
Syntax:
    
navigator.plugins[index].memberName