How to stop a repetitive alert box

javascript

Recently a colleague forwarded a website link to us saying it was a funny site. After you click on the link, you are stuck in an infinite loop of annoying alert boxes. The only way to stop that was by killing the browser from the task manager. After killing the browser session you couldn't use the restore session feature as it would again open the annoying site. Many of my colleagues lost important data due to this.

Can we write a small application/script/plugin which will stop the alert boxes and/or close the website when required? If yes, then which language is best suited to do it? or Is there any existing application which stops such malicious activities?

P.S : I am using Firefox and I don't want to migrate to any other browser (Chrome etc.)

Best Answer

At least two plugins for Firefox seems to be relevant: AlertCheck and AlertStopper.

Related Question