Version: 3.4.1 (using KDE KDE 3.4.1) Installed from: Gentoo Packages Compiler: gcc (GCC) 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1) OS: Linux Open http://www.brmbrm.wz.cz/ in konqueror. This page has a *lot* of "<script> alert('blah');</script>"-like lines. When the javascript window pops up, you can't any longer access main window of konqueror and keyboard shortcuts don't work anymore. Simple kill will kill entire session with all open tabs. Good folks on #kde pointed me to the DCOP stuff, so I used `dcop konqueror-$PID html-widget* setJScriptEnabled false` which did the job. Suggestion: allow the alert window to give its focus away because I don't think that most users will play with DCOP.
confirming for 3.4.1, visit that link and you can't close the konqueror window or do anything in konqueror.
site now invalid?
Site that is no longer accessible doesn't magically make that problem go away.
Created attachment 22523 [details] konq-alert.html This file should be enough. It displays ten alert boxes before letting you close the web page.
Don't all web browsers behave the same on such pages?
David, even though it very well could be a common behavior (I haven't studied any heuristics about the maximal number of popups to show), it doesn't change anything on the fact that such a behavior is extremely annoying. The only way for a user to deal with such a page is to kill the whole session, possibly losing all work (alert popups are modal per window, not per tab).
The "good" way of dealing with this (which I think Opera(?) offers) is to have a script-killing checkbox in the alert. Hmm, I really ought to be the person to know how script killing should work, shouldn't I?