Your Search Results


    This article is in need of a technical review.

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


    Reloads all of the installed plugins.


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


    The function has the following parameter:

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


    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

    Document Tags and Contributors

    Contributors to this page: Pmash, Sheppy, kscarfone
    Last updated by: kscarfone,