How can I prevent loading NPAPI plug-in?



  • Hi,

    I have an NPAPI plug-in in /Library/Internet Plug-Ins/ that seems to crash my application.

    I've asked the developer of that plug-in to look into the problem and they keep telling me I should change my application so it does not load their plug-in.

    I don't load their plug-in,
    My webpage specifically call their plug-in.

    This is what I've been trying so far:

    @
    QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, false);
    webView->settings()->setAttribute(QWebSettings::PluginsEnabled, false);
    webView->page()->settings()->setAttribute(QWebSettings::PluginsEnabled, false);
    @

    This had no effect.

    @
    webView->page()->setPluginFactory(0);
    @

    This didn't do anything either.

    I've looked into the docs and googled for couple of days but I couldn't find anything that helped.

    Can anyone help me with this?

    Thank you


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.