This page is going to show you a very simple and very short solution for blocking the annoying script error pop up that appears when navigating almost any website with the web browser control in Visual Basic 6.
Proper Web Browser Script Error Suppression Code
Assuming the name of your WebBrowser control is [WB]:
Private Sub WB_BeforeNavigate2(ByVal pDisp As Object, URL As Variant, Flags As Variant, TargetFrameName As Variant, PostData As Variant, Headers As Variant, Cancel As Boolean)
WB.Silent = True ' prevent script error reports