How can I disable javascript errors on "TWebbrowser"?
Asked Answered
E

1

15

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?

Expurgate answered 27/4, 2010 at 14:30 Comment(0)
I
20

Try to set WebBrowser1.Silent := True

Incinerate answered 27/4, 2010 at 15:19 Comment(2)
Yes this solution solved the problem, but it also disable all message coming from the TwebBrowser like user name popup!Houchens
@Mario, what is a user name popup?Burchette

© 2022 - 2024 — McMap. All rights reserved.