Disable Javascript errors in WPF Web Browser Control take2

I’ve dealt with this problem some time ago and the solution I posted worked well, but requires you to manipulate the content of the page, injecting script on the DOM. If you want to get rid of annoying messagebox with javascript error, there is another solution based on simply setting the Silent property on the AXIWebBrowser2 COM control.

The full solution was described here by Brent Lamborn and is a pretty good solution that does not require you to manipulate the content of the DOM. The Silent property of the AXIWebBrowser2 control is probably the same Property that you can set through the ScriptErrorSuppressedproperty of the winform version of WebBrowser control.

I wonder why this property was not ported to the WPF version of the control.

Gian Maria.