How can I disable javascript errors on “TWebbrowser”?

风格不统一 提交于 2019-11-27 19:22:23

问题


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



来源:https://stackoverflow.com/questions/2722060/how-can-i-disable-javascript-errors-on-twebbrowser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!