Click here to Skip to main content
15,312,535 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
in the website unwanted ads will appear in the website that disturbs the user's, i would like know is there any thing in the c#.net windows application to block unwanted ads in the website
Posted
Updated 11-Jan-15 19:17pm
v2
Comments
   
This is unrelated to C#, unless you, say, write your own Web browser. Where do you want to block it? If this is the client side, this should be done in the browser (blocking on server side simply would not make any sense, it would be about not showing any ads). The real problem is: how would you tell ads from non-ad content? :-)
—SA
Srikanth59 12-Jan-15 1:18am
   
i would like block unwanted ads in the website using c#.net windows applications
   
In the website? Isn't that nonsense? In a Website, you would better not publish ads. :-)
—SA
deepakdynamite 12-Jan-15 7:52am
   
:D :D Can't stop laughing

Please see my comment to the question.

Strictly speaking, this is impossible just because there is no a clear criteria to tell ads from non-ad content. Let's imagine that you went so far to filter ad-like keyword, or even to perform semantic analysis of the content. But now, imagine the you see the article which discussed advertisement, even the ways of blocking the ads, with some sample. Your filter can block it as the ad. And, from the other hand, a real ads can mimic the style of such articles, to sneak through the filters. :-)

—SA
   
v2
Install addblock in the browser.
   

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