Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. How can I prevent loading NPAPI plug-in?
Forum Update on Monday, May 27th 2025

How can I prevent loading NPAPI plug-in?

Scheduled Pinned Locked Moved Qt WebKit
1 Posts 1 Posters 689 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    thebeast44
    wrote on 3 Jul 2014, 02:32 last edited by
    #1

    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

    1 Reply Last reply
    0

    1/1

    3 Jul 2014, 02:32

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved