JavaScript Reference/Javascript Objects/plugin — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 11:22, 26 мая 2010
Содержание
"plugin" Example
<source lang="javascript">
<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>
</source>
"plugin" is applied to
<source lang="javascript">
Names noted with an asterisk (*) are JavaScript properties only. +----------------+--------------------------------------------------------------+ | Applied_To |plugins* | +----------------+--------------------------------------------------------------+
</source>
"plugin" JavaScript Properties
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | JavaScript |description filename | | Properties |name | +----------------+--------------------------------------------------------------+
</source>
"plugin" Syntax and Note
<source lang="javascript">
Note: Provide information about the plugins installed in the browser.
Syntax:
navigator.plugins[index].memberName
</source>