Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
hk__2
10y ago
0 comments
Save
Share
Most browsers now let you stop alerts from a website, thus avoiding the `while (true) { alert(…); }` variants.
0 comments
2 comments · 1 top-level
top
newest
oldest
hollerith
10y ago
· 1 in thread
OK,
how
does a user stop an alert? Pick a browser and explain.
hk__2
OP
10y ago
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.
j
/
k
navigate · click thread line to collapse