[webkit-qt] how to disable the external elements on QWebView
noam.rosenthal at nokia.com
noam.rosenthal at nokia.com
Mon Nov 28 19:19:56 PST 2011
Hello.
There are several way of doing this. One of them is to extend QNetworkAccessManager, and filter traffic that goes through its requests.
There are several examples on how to extend a QNetworkAccessManager for use with QtWebKit, here's one: http://qt.gitorious.org/qt-labs/graphics-dojo/trees/master/url-rendering.
Good luck
~No'am
On Nov 28, 2011, at 7:02 PM, ext 45828842 wrote:
sorry, i am a new here, can someone help me how to disable the external elements on QWebView? which means QWebView::load(Qurl(myurl)) only download myurl page and external elements such as js, css, img... do not download. thx!
_______________________________________________
webkit-qt mailing list
webkit-qt at lists.webkit.org<mailto:webkit-qt at lists.webkit.org>
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20111129/f8264255/attachment.html>
More information about the webkit-qt
mailing list