3 ms·
...and then the web page can pop up another alert before you have time to do anything else. for (;;) alert("spam!"); Chrome will, at least, give you an op
by david-given 10y ago
...and then the web page can pop up another alert before you have time to do anything else.
for (;;) alert("spam!");
Chrome will, at least, give you an option to disable the alerts if it thinks you're getting them too often, but by that point you're well into scary territory.
Footnote: just tried it in Chrome, and after disabling popups I got a tab which was spinning using 100% CPU and which was completely uninteractive. I couldn't even close it using the x on the tab and I had to kill it via the Chrome task manager. Hmmm...
- clarry 10y agoThere was a time when using vimperator with firefox you'd always be able to focus the command prompt and enter a command like :q to close the tab, even if there's an active alert popup on the screen. It's hilarious to me that this thing is still a problem when it's technically trivial to solve. Actually I don't know if the feature was due to vimperator, firefox, or just my window manager.
- Mystrl 10y agoI have no idea what you're talking about. I tried it and after the first popup there's a checkbox to disable any more popups. It didn't affect any of my other tabs and I could kill the process of that one tab through task manager.