Skip to content

Asianet(ISP) injecting javascript code(ads) in every webpage requested by the customer

Update: Asianet(ISP) now showing Interstitial ads ( along with their javascript injection.

Some of you out there, using Asianet, might have noticed that an ad is shown on the right side of each webpage you pull from the internet.




What i am seeing is an ad that is generated by the javascript, but i am deeply concerned about the other activities it might be doing. The javascript can take(hack) any data we type in a website( the username and password that we type in, to enter into a website can easily be hacked). This a cyber crime and a major security breach.

Unauthorized access & Hacking:-

Access means gaining entry into, instructing or communicating with the logical, arithmetical, or memory function resources of a computer, computer system or computer network.

Unauthorized access would therefore mean any kind of access without the permission of either the rightful owner or the person in charge of a computer, computer system or computer network.

Here asianet is injecting a javascript code into a website without the permission of the website owner and that’s against law.

This is the piece of code they are inserting

I have informed the authorities about this, i don’t know whether they will take take any action against it or not.

Anyway here’s a small tip on how to prevent the ad from appearing on the webpages.
In windows:
Edit the file C:\windows\system32\drivers\etc\hosts
and add the following line at the bottom of the file –

In Linux:
Edit the file
and add the same line to bottom of the file.
Now clear your browser cache or just shift+refresh a page.

Hoping for the authorities to take an action.


All those who are facing this, it will be helpfull if you please comment below. Thanks! 

51 thoughts on “Asianet(ISP) injecting javascript code(ads) in every webpage requested by the customer”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.