Suppressing WebBrowser Dialogs

Hi, i've been experimenting with the web browser control a little and I've come across a problem. If the web browser displays a dialog, the whole thing hangs until I answer the dialog. Is there any way to supress dialogs? I've looked at the object for scripting property but that only seems to be for when the document calls a function from an external window.

Maybe it's possable to override the handler for the dialogs or even sub-class it?

Any ideas would be appreciated, thanks.

[505 byte] By [PsychUK] at [2007-12-23]