Plugin.name

JavaScript 1.1+, JScript 1.0+ Nav3+, IE 3+, Opera3+ Syntax

							plugin.name

Description

The name property of the Plugin object is used to get the plug-in's name.

Example

Listing 7.429 shows an example of how the name property is used.

Listing 7.429 Example of the name Property
<html>
<head>
<title> Example of the plugin name property</title>
</head>
<body>

<script language="JavaScript">
<!--Hide
// print the name of the first browser plug-in
     document.write(navigator.plugins[0].name);

// End Hide --->
</script>

</body>
</html>
							
							
						

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.