Wednesday, March 30, 2005

A tip to get rid of ads!

One thing everyone of us would agree is that the pop-ups/ads are annoying. Its even more annoying if there are too many ads on your favourite web portal. There is a hack to it!

Lets say you like http:///www.sify.com/ but you dont like to see their annoying ads. The idea is to find their ad-server. Major portal have separate ad servers which they use to display their ads. For example sify has ads.sify.com as their ad server. If we are able to block our browser request to these ad servers there will be no ads to the browser!

So what I did was to simply edit the C:\windows\system32\drivers\etc\hosts file using notepad and add the following entry:

127.0.0.1 ads.sify.com

Now, ads.sify.com is mapped to loopback address so your browser would fail making a request and you wont see an ad. To find out the ad server you want to block visit the portal right-click on an image and you can find the domain!

No comments:

Disqus for techtalk