Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi every one.

im currently casted myself into a project in developmenting a webrower in C#.

the idea of the browser is to make it kinda ads free or let the user have a option to turn of ads, so the real question is:

is there a way to scan a website for elements while loading it (scan and show element by element after it have been scanned)

personaly i've never worked with the webbrowser controle before but it seems kinda nice to work with so far.

i hope there is some people out there that can help me ty :)

-Jackie
Posted
Updated 15-Jul-11 10:15am
v2
Comments
Philippe Mori 15-Jul-11 19:44pm    
By the way scanning web site without breaking them might be very hard in some case... And you will have to take into account different version of HTML including bad formed code that just happen to works on most browser...

1 solution

You should be aware that it might not be legal:
Web ad blocking may not be (entirely) legal
[^]

Also why reinvent the well. There are a few products that pretend to that that. Just search on the web.

By the way, it will take a relatively large effort to have a solution as each web site might do their add their own ways.

By doing that also, some site you like might be privated from a part of their revenues and might have to close. Also, they will find other ways to do add... and it will just make it harder in the future to block adds.
 
Share this answer
 
v2
Comments
Jackie00100 15-Jul-11 22:50pm    
Well mainly what im making is for the fun of it so i can be even better to programing but thanks for the link of ad blocking it was... kinda interresting and yes i know about ads are very deferent but alot of ads does always contains some html code that you can look at, also it could be nice to scan for melisious scripts this way.

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