How to suppress javascript error/warning popup message window
Qt WebKit
2
Posts
2
Posters
2.2k
Views
1
Watching
-
wrote on 23 Jul 2012, 04:56 last edited by
I am using QWebKit to display the HTML pages which has some java scripts also.
Sometime I am getting javascript error/warning pop up message window, I just wanted to suppress them, so that user will not get notified about these.
Please suggest a way to do this.Regards
Ashish -
wrote on 23 Jul 2012, 16:46 last edited by
You can subclass [[Doc:QWebPage]] and reimplement the javaScriptAlert() method to suppress the message boxes triggered by alert().
2/2