Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Visual Basics 2008 - Put a Pop-Up Blocker in your webbrowser

Loading...

Sign in or sign up now!
4,070
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 20, 2009

Learn how to put an Pop-Up Blocker in your webbrowser.

Code:

e.Cancel = True MsgBox("Pop-Up Blocked by Cykid", MsgBoxStyle.Information, "Pop-Up Blocked")

Greetz,Cykid


PS:The end isnt Important!

  • likes, 5 dislikes

Link to this comment:

Share to:

Uploader Comments (CykidCoder)

  • Nederlands? Lol goeie video man 5/5!

  • Dankje

  • Thx man

  • Thx

Top Comments

  • Excuse me but how do i make a pop up blocker in a tabbed web browser i cant seem to make it work, if you have a code plz tell me.

  • how do you do it with tabbed browsers please help!!!

see all

All Comments (36)

Sign In or Sign Up now to post a comment!
  • i think it goes in  Private Sub WebBrowser1_Newwindow(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEv­entArgs)

  • thanks to you my application doesn't have annoying pop-ups.

    Groeten uit België ;)

  • @AppleUploader oh... I'm sorry! I can't sppek german, only dutch and english!!!

  • im back and improved this is the video that inspired me thank you verry much. this has helped me develop a multi rabbed popep blocker over a year ago.

    so i must thank you i will be releasing cyber surfer 10 final release with the source .

    which includes the source for the problem of the tabbed browser

  • @haloniels1997 ich kann dieses Video nicht verstehen.

  • did you just try making one for each individual web browser? (this would work if you have a predetermined number of tabs, if you somehowmanaged to make a tabbed browser with an add tab button, then i'm not sure how you'd do it, but i assume you could just write the code for the WebBrowser you use that loads in each tab, it should be the same one ex: WebBrowser1 or AxWebBrowser3

    just go to each Browsers New Window event and put this in...

  • I tried to modify the code to work with a tabbed webbrowser. Didn't succeed. What is the code

  • Nice, een nederlander!

    Pop up blocker helpt echt!

  • Nice, this helped so much :) I subbed!

  • He just put this Code:

    e.Cancel = True MsgBox("Pop-Up Blocked by Cykid", MsgBoxStyle.Information, "Pop-Up Blocked")

    So where's the LINK or example site to block it? Can you give us an example?

    Where goin to put it?

    Thanks...

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more