How to suppress javascript error/warning popup message window
-
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 -
You can subclass [[Doc:QWebPage]] and reimplement the javaScriptAlert() method to suppress the message boxes triggered by alert().