The plugins.refresh() checks for any new plug-ins installed on the browser.
<html>
<head>
<title> Example of the plugins.refresh method of the navigator object</title>
</head>
<body>
<script language="JavaScript">
<!--
document.write(navigator.platform);
-->
</script>
</body>
</html>