by Ali Damji (1 Submission)
Category: Internet/HTML
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)
This code is very usefull for webbrowser developers to block all popup windows if they look like popup windows eg. no toolbars....without Killing the 'open in new window' command.
API Declarations'Code By Ali Damji
'Email Me At [email protected]
Private Sub WebBrowser1_OnToolBar(ByVal ToolBar As Boolean)
On Error Resume Next
If ToolBar = False Then
Unload Me
End If
End Sub