Refreshing the plugins array is as simple as invoking its refresh()method. Doing so causes the browser to check for newly installed plug-ins and to reflect the changes in the plugins and mimeTypesarrays. This method takes a Boolean argument indicating whether the browser should reload any current documents containing an <embed>.If you supply true, the browser causes any documents (and frames) that might be able to take advantage of the new plug-in to reload. If false is passed to the method, the plugins array is updated, but no documents are reloaded. A typical example of the methodís use is found here:
Of course, this should be presented only to users of Netscape, Opera, or Mozilla-based browsers where plug-ins are supported in the first place.