How can I disable javascript errors on "TWebbrowser"?

Adnan M. TÜRKEN picture Adnan M. TÜRKEN · Apr 27, 2010 · Viewed 9.8k times · Source

I am getting javascript errors popping up in some webpages I am browsing to.

Does anyone know how to disable javascript error boxes from displaying in a Delphi app using a TWebbrowser? or any other messageboxes?

Answer

Mohammed Nasman picture Mohammed Nasman · Apr 27, 2010

Try to set WebBrowser1.Silent := True