Quote:
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.
what you originally said was not to use alert() "unless you want people using the alert to disable JavaScript for your site."; a situation only in play for about 1/50 visitors given most web stats. it's an attention grabbing message to be sure, but one that is just not true for the vast majority of us.
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.