Thursday, March 29, 2012

How to block admagnet.net advertisements?


When we view the railway related information in http://www.indianrailway.gov.in web site, there will be flood of advertisements from *.admagnet.net. This happens even when the pop-ups are blocked and javascript is disabled in the Chrome preferences.

These advertisements are embedded as flash files just before the body tag. We do not know whether Indian Railway is purposely doing it OR these advertisement lines are inserted on the fly in the en-route. However these advertisements are irritating.

To prevent such ads, just block the plugins(in this case 'Flash') from this web site.

This procedure is Google Chrome specific.

1) Select Settings->preferences.
2) Choose 'Under the hood', then 'Content Settings'.
3) Click Manage Exceptions under 'Plug-ins'.
4) Enter admagnet.net and choose 'Block'. Press Enter to add.


This disables the Flash advertisements.

Also prevent JavaScript from admagnet.net.

That's it, the ads will be blocked in the http://www.indianrailway.gov.in web site. Enjoy browsing Indian Railway Website without irritating ads.

2 comments:

Unknown said...

Even this doesn't work. After following these steps also the pop ups are coming up. Its annoying.

Unknown said...

You may add the following line in /ets/hosts file to suppress the DNS look up for admagnet.net.

127.0.0.1 n.admagnet.net