[Qt-interest] webkit - how to prevent alert popups
Richard Baron Penman
richardbp at gmail.com
Fri Sep 17 07:55:29 CEST 2010
Hello,
I am trying to prevent alert popups in my webkit browser.
I thought the easiest way to do that would be to simply remove alert
statements in the HTML (not concerned about external JS for now).
How can I modify the downloaded HTML before it is rendered?
When the QWebView::loadFinished signal is emitted the page already contains
the new content.
Is there a relevant method in QNetworkAccessManager I can intercept?
Or some other more robust approach?
thanks,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100917/ac30f2f6/attachment.html
More information about the Qt-interest-old
mailing list