Click here to Skip to main content
15,887,083 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all users and professional experts, i want insert an adblock in my webbrowser, but I don't know how I can do. Can I help anyone? Thanks all will respond me
Posted
Comments
[no name] 12-May-14 12:00pm    
Help you with what? We would have no idea at all what adblock you are talking about, what webrowser you are talking about, what you have tried do to for yourself, what code you have written, what errors you are getting on your code or anything else about your project.
Member 10812574 12-May-14 12:52pm    
My code for my adblock is this, but haven't serve:
Private Sub WebBrowser1_Navigating(sender As Object, e As WebBrowserNavigatingEventArgs) Handles WebBrowser1.Navigating
If e.Url.Equals("http://" + "http that I want block") Then
e.Cancel = True

1 solution

You might want to check out AdBlock Plus: http://www.pcworld.com/article/231555/adblock_plus.html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900