Click here to Skip to main content
15,883,901 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I am new here !!
I am coding a program which have a webbrowser, and I want to know how to block some ads that appears in websites... I tried disabling javascript but an especie of 'gray background' stays in front of a video. I'll give you an example:

http://www.televisaofutebol.com/ucaster.php?chname=tvi22&height=500&width=650&logofile=http://images.tvdez.com/logostream.png&logolink=http://www.tvdez.com/tvi&logoposition=random&image=http://images.tvdez.com/obrigado.png&skin=&stretching=exactfit&autostart=true[^]

I want to disable all video ads

Thanks in Advance!
Posted

1 solution

I couldn't open the listed address, but as much as i could get from it is.

The parent of the object in HTML is still left out so instead of working only on the object try removing the entire "div" or "span" enclosing the video object.
 
Share this answer
 
v2

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