Using html classes, ids and other identification methods I'd think it would be fairly easy to set up intelligent filtering that differentiates between different types of input fields. Discriminating between input and textarea probably gets you already 90% of the way.
+ Ignore forms with a password field
And hope nobody trojans the Firefox extension you're using to handle passwords "specially".
Re:Dear "Landlord"
by icebraining on Wednesday March 14, 2012 @09:35PM
(#3706333)
All Firefox extensions can read the passwords if they're trojaned, regardless of whether they handle them or not.
[1]: http://lockerproject.org/