JavaScript Tutorial/Document/plugins
document.plugins
Syntax
document.plugins
document.plugins[index]
document.plugins.length
The length property contains the number of objects that are in the plugins[] array.
<html>
<h2>A Circle</h2>
<embed src="circle.gif">
<h2>A Square</h2>
<embed src="square.gif">
<script language="JavaScript">
<!--
document.write(document.plugins.length," embedded objects.");
-->
</script>
</html>