mozilla
Your Search Results

    NPN_ReloadPlugins

    This article is in need of a technical review.

    この記事はまだ日本語に翻訳されていません。MDN の翻訳はボランティアによって行われています。是非 MDN に登録し、私たちの力になって下さい。

    « Gecko Plugin API Reference « Browser Side Plug-in API

    Summary

    Reloads all of the installed plugins.

    Syntax

    #include <npapi.h>
     
    void NPN_ReloadPlugins(NPBool reloadPages);code
    

    Parameters

    The function has the following parameter:

    reloadPages
    Whether to reload pages. If true, all pages are reloaded once the plugins are reloaded; otherwise, they aren't.

    Description

    NPN_ReloadPlugins() reads the Plugins directory for the current platform and reinstalls all of the plug-ins it finds there.

    Normally, if you add or remove any plug-ins, the browser does not see them until you restart Gecko. NPN_ReloadPlugins() lets you install a new plug-in and load it, or to remove a plug-in, without having to restart the browser. You could use this function as part of the plug-in's installation process.

    See also

    ドキュメントのタグと貢献者

    Contributors to this page: Pmash, Sheppy, kscarfone
    最終更新者: kscarfone,