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.


NavigatorPlugins.mimeTypes 只读 这是一个实验性的 API,请尽量不要在生产环境中使用它。
Returns an MimeTypeArray (en-US) listing the MIME types supported by the browser.
NavigatorPlugins.plugins 只读 这是一个实验性的 API,请尽量不要在生产环境中使用它。
Returns a PluginArray (en-US) listing the plugins installed in the browser.


The NavigatorPlugins interface doesn't inherit any method.

NavigatorPlugins.javaEnabled 只读 这是一个实验性的 API,请尽量不要在生产环境中使用它。
Returns a Boolean (en-US) flag indicating whether the host browser is Java-enabled or not.


Specification Status Comment
HTML Living Standard
Living Standard Initial definition.

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help! (en-US)

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.