How can I disable javascript errors on “TWebbrowse

2019-01-19 11:33发布

问题:

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?

回答1:

Try to set WebBrowser1.Silent := True