JavaScript Reference/Javascript Methods/refresh plugin
Версия от 21:30, 25 мая 2010; (обсуждение)
"refresh()" Example
<source lang="javascript">
<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>
</source>
"refresh()" is applied to
<source lang="javascript">
Names noted with an asterisk (*) are JavaScript properties only. +----------------+--------------------------------------------------------------+ | Applied_To |plugins* | +----------------+--------------------------------------------------------------+
</source>
"refresh()" Syntax, Parameters and Note
<source lang="javascript">
Note: Refreshes the browser"s plug-ins list without quitting and re-launching the browser.
Syntax:
navigator.plugins.refresh()
</source>