这是一个实验中的功能
此功能某些浏览器尚在开发中,请参考浏览器兼容性表格以得到在不同浏览器中适合使用的前缀.由于该功能对应的标准文档可能被重新修订,所以在未来版本的浏览器中该功能的语法和行为可能随之改变.
The NavigatorPlugins
interface contains methods and properties related to the plugins installed in the browser.
There is no object of type NavigatorPlugins
, but other interfaces, like Navigator
, implement it.
Properties
NavigatorPlugins.mimeTypes
只读- Returns an
MimeTypeArray
listing the MIME types supported by the browser. NavigatorPlugins.plugins
只读- Returns a
PluginArray
listing the plugins installed in the browser.
Methods
The NavigatorPlugins
interface doesn't inherit any method.
NavigatorPlugins.javaEnabled
只读- Returns a
Boolean
flag indicating whether the host browser is Java-enabled or not.
Specifications
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard NavigatorPlugins |
Living Standard | Initial definition. |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
See also
- The
Navigator
interface that implements it.