Originally Posted by felgall
It is MODERN - the browsers that don't display the debugging checkboxes in the dialogs are the ancialt ones.
ALL of the current browser versions except IE display debugging checkboxes in their alert confirm and prompt dialogs. It is as you say just asinine design on the part of the script author to display these checkboxes to your mom and others that don't know what scripts are - that's why I suggested getting rid of them before other people have access to your page.
the dialog snooze option does NOT disable JS.
while i'm with you 150% as far as avoiding alert(), sell it using UX, not fear.
on mobile, it's actually not as bad, and has an intuitive skin, so lets not drain the bathwater yet.
its use by authors is not the best experience, but the default text on opera is literally ridiculous; no wonder it's stuck at 2%. The fact that the browser itself allows that kind of verbiage to encounter the user is just plain sad. It's as if Opera hasn't even done the self-narrated interaction observer studies. Firefox's is better, though even there, you have the jargon "dialog", a term i'd give my mom 50/50 odds of understanding.
so, yes, don't use prompt(), but don't claim it's usage is as bad as Opera's mis-implementation.
BROWSER STATS [% share]
(2013/12/12) IE7:0.3, IE8:7.5, IE11:4.3, IE9:4.6, IE10:7.8, FF:18, CH:43, SF:5.5, MOBILE:21.5