plugin's MimeType
Each plugin object is also an array of MimeType objects that can be accessed using bracket notation.
Each MimeType object has four properties:
Name | Description |
---|---|
description | a description of the MIME type; |
enabledPlugin | a pointer back to the plugin object; |
suffixes | a comma-delimited string of file extensions for the MIME type; |
type | the full MIME type string. |
<!DOCTYPE HTML>
<html>
<head>
<title>Example</title>
</head>
<body>
<script>
for (var i=0; i < navigator.plugins.length; i++){
document.writeln(navigator.plugins[i].name);
document.writeln(navigator.plugins[i]["description"]);
document.writeln(navigator.plugins[i]["enabledPlugin"]);
document.writeln(navigator.plugins[i]["suffixes"]);
document.writeln(navigator.plugins[i]["type"]);
}
</script>
</body>
</html>