How to stop a repetitive alert box?
<p>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.</p>

<p>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>

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