Another FF/TB/Nvu extension wanted
By glazou on Sunday 12 September 2004, 16:16 - Mozilla - Permalink
There's one I'd really love to have in all Mozilla products, including Nvu: I want a special very visible message/tooltip/popup/whatever when I am about to fill in a type="password" form field, or an HTTP/FTP account/password HTTP popup, or when I enter my master password and when the CapsLock key is on. WindowsXP does it on its logon page, and it's a brilliant idea. I want that caps-lock warning in Mozilla products.
Update: filed under bug 259059.

Comments
à noter que kdm (le logiciel de connection kde sous linux) le fait depuis belle lurette...
et GDM (celui de gnome) aussi
This shouldn't be just another extension, it should be built into Mozilla. How about filing an RFE?
Prog.
Comparaison entre Windows XP et Mac OS X pour « Handling Caps Lock Key » :
www.xvsxp.com/log-in/inde...
good idea!
but beside posting it here - may file a request at bugzilla
I was thinking about the same issue in our corporate software and came to a conslusion that just a warning that says 'Caps Lock is on, toggle it off' is kind of dumb from the point of a user. If the machine advises an exact action then why on Earth it couldn't make it automatically?
[Daniel's answer] because some users really want CAPS-LOCK ?[/Daniel's answer]
So I beleive the solution should be like that: try to log in with what user has entered and if it fails, invert the case and try again.
Unfortunately this approach cannot be taken in general cases because the provider of a password field (browser or some OS library) doesn't know if logon has failed or not.
Also you would get in trouble with webapps where there's some kind of protection, like 3 logins per account per 15 minutes. You would reduce that to 2 this way.
Safari does this too, albeit less visibly. It is quite cool.
If the machine advises an exact action then why on Earth it couldn't make it automatically?
[Daniel's answer] because some users really want CAPS-LOCK ?[/Daniel's answer]
I don't propose to switch it off. Let them have it as they like. Just test password as if it was entered without Caps Lock.
This is even more convinient since user wouldn't even know that Caps Lock affects password. And this is good, I beleive.
Something like this?
<input name="" type="password" onkeypress="if (!document.caps&&!event.shiftKey&&event.charCode>64&&event.charCode<91) {alert('CapsLock pressed'); document.caps=true;}">