navigator.plugins.refresh()

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

navigator.plugins.refresh()

Description

The plugins.refresh() method of the navigator object is used to check for any new plug-ins installed on the browser.

Example

Listing 7.404 shows an example of how the plugins.refresh() method is used.

Listing 7.404 Example of the plugins.refresh() Method
<html>
<head>
<title> Example of the plugins.refresh method of the navigator object</title>
</head>
<body>

<script language="JavaScript">
<!--Hide
     document.write(navigator.plugins.refresh());
// 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.