yields / placeholder

Placeholder for older browsers.
4 stars 0 forks source link

obfuscated placeholders in password inputs #1

Open eivindfjeldstad opened 10 years ago

eivindfjeldstad commented 10 years ago

Would you accept a PR that changes password fields to text fields and back to avoid obfuscation? Might break autocompletion in some browsers, haven't had time to test it out yet.

eivindfjeldstad commented 10 years ago

ah, IE doesn't support setting .type. Hmm, we could clone the element. Messes with event listeners but maybe it could be an optional thing