问题
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