Hacker News new | ask | show | jobs
by hk__2 3850 days ago
Most browsers now let you stop alerts from a website, thus avoiding the `while (true) { alert(…); }` variants.
1 comments

OK, how does a user stop an alert? Pick a browser and explain.
Chrome gives you a checkbox on the second alert on the same website to prevent any future one. You can’t avoid the first two but you can avoid all the next ones.