VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Automatic Webbrowser Popup Killer

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]

Rate Automatic Webbrowser Popup Killer

Private Sub WebBrowser1_OnToolBar(ByVal ToolBar As Boolean)
On Error Resume Next
If ToolBar = False Then
Unload Me
End If
End Sub

Download this snippet    Add to My Saved Code

Automatic Webbrowser Popup Killer Comments

No comments have been posted about Automatic Webbrowser Popup Killer. Why not be the first to post a comment about Automatic Webbrowser Popup Killer.

Post your comment

Subject:
Message:
0/1000 characters