JavaScript Reference/Javascript Methods/refresh plugin
"refresh()" Example
<head>
<script>
function function1() {
window.location.href = "http://www.macromedia.ru/shockwave/download/"
navigator.plugins.refresh();
}
</script>
</head>
<body><button onclick="function1();">Add new plug-in</button>
</body>
</html>
"refresh()" is applied to
Names noted with an asterisk (*) are JavaScript properties only.
+----------------+--------------------------------------------------------------+
| Applied_To |plugins* |
+----------------+--------------------------------------------------------------+
"refresh()" Syntax, Parameters and Note
Note:
Refreshes the browser"s plug-ins list without quitting and
re-launching the browser.
Syntax:
navigator.plugins.refresh()