Open nickserv opened 12 years ago
Fixed in the refactor branch: https://github.com/wyantb/HashMask/tree/refactor
If you ever feel bored, feel free to test it out. Haven't revisited the options page or gh-pages branch, so both of those are broken in different ways I believe. But regardless, I think the core stuff is a bit cleaner now.
As for this specific issue: now, I compare the value of the password field from before the keyup event to that of it afterwards. If it's different, I remake the hash, otherwise, it stays the same.
Ah, that sounds cool. I've been a bit busy lately, but I'll give that branch a look when I have the time.
Basically, at this point, ANY keypress will make HashMask clear itself, wait the delay time, and generate a new HashMask. That means that pressing a non-character key (like shift or ctrl) will make HashMask blink. We should either filter keypresses out or use an onchange event on password fields instead.