Tell HN: Use Pop-Up Log-In Forms and People Can't Use LastPass to Log in
For people who don't know, LastPass is, at its core, a service to store all your passwords that can be generated at random by LastPass, when people sign up. This creates a large, protected vault of log-in information. When a LastPass user encounters a log-in page, LastPass can automatically fill in the forms. The alternative would be to memorize your passwords, which, for the paranoid lot of us, are probably base-64, 32-character-long ones.
Let me give you an example of what happens when you use different forms. Etsy does both things which serves as a great example.
If I use their pop-up log-in button on the front page, this is what happens: http://i.imgur.com/x0rZZ.png. Note how none of the forms are filled out by LastPass.
If I use the "regular" HTML form on https://www.etsy.com/signin, this happens: http://i.imgur.com/9rtCp.png.
If the latter log-in is not available, I will have to click my LastPass icon, go to my vault, search for my Etsy credentials, copy them to my clipboard, and paste them into the pop-up form in order to log in.
But the worst is when the sign-up forms are pop-ups; now my credentials aren't saved, and you had better have a safe system for forgotten passwords, because you are bound to receive them. This is because the credentials aren't saved to LastPass, when they are in pop-up JavaScript. A royal pain in the ass.
I can only speak from personal experience, but for the love of everything UX, please, please, please use regular forms without any fancy JavaScript dingus, even though you just discovered jQuery for the first time.
With the increasing privacy concerns, LastPass users are going to grow in numbers - not dwindle - so you are going to annoy and possibly deter a lot of users inadvertently, if you don't get your log-in prompts right.
It would be nice if it worked, but I'm not blaming Etsy Etc.
In the Unix world, there are various extant mechanisms for this around: PAM, LDAP, &c. However, I haven't detected any published rough consensus for the Web; searching for terms like “design login form common field names username password” doesn't turn up anything obvious.
The only strong heuristic that I can think of is detecting form fields of password type, and then distinguishing the use cases temporally based on whether you already have tokens cached.
I doubt more than a few percent of users use it which properly means that the amount of users turned away from the wasted screenspace is much higher than the number of people who use lastpass and site owners aren't interested.
As others have said, filing a bug with LastPass would seem a better option than trying to persuade the entire web to ditch a popular sign-in method.
There a trick to it, though, which is to put the form in a nominally 'visible' state at page load time, even if it happens to be visually obscured by other elements. Autofill will happen at page load, but will only become apparent when you make the popup div visible by bringing it to the front.
Caveat: I need to re-test this with the latest version of LastPass. However, when I built a site using this method a few years ago, it did work across various password managers and different browsers, which didn't happen using the more common method of toggling the display property.
The scope of this problem is more than just LastPass. Etsy's popup fails equally well with Safari's password manager. IIRC, Safari was the pickiest of the browsers about how the login box was hidden, but password autofill did work with it in the end.
It takes a few seconds longer, but still works. Also, saving the details of a site is done automatically. All you lose here is a bit of ease of use. A visit to your vault and a few clicks makes the site a new permanent entry.
Couldn't LastPass just fix this bug by giving you an option somewhere to re-parse the page and do its auto-fill? That would seem to be much more attainable than convincing every website to use a non-popup login system.
http://etsy.com http://i.imgur.com/x0rZZ.png
https://www.etsy.com/signin http://i.imgur.com/9rtCp.png