Live data from Hacker News

Don't use autofill in your browser

yoast.com

61–70 of 74 posts

Re: Don't use autofill in your browser

#61
post #22

I dont see the problem all that was filled in was my name. The other fields were left blank. Even when I reentered it after the other fields popped up.

You have to have an autofill set up with more information than just your name. You can tell if you have this set up because when the autofill choices show they will have your address etc in gray next to the choices you are auto-completing.

Re: Don't use autofill in your browser

#63
post #30

This seems like an easy fix for the layout engines. Only include a field on autofill if it's currently visible on screen. One might even classify this as a bug.

"Visible on screen" unfortunately is a hard thing to determine. You can easily imagine a textbox with white text on a white background, or a very small textbox, or a textbox that briefly pops up whenever you type a keystroke or click the mouse, or... Browsers really need to support some mechanism where the user can determine precisely what information will be filled prior to it being handed over to the website. This…

    ----------------------------------------------------
    | This webpage is asking for information that your |
    | browser can automatically fill in for you. Check |
    | the box next to each item you'd like to include. |
    |                                                  |
    | [x] Email address - bob@example.com              |
    | [ ] Name - Bob Jones                             |
    | [ ] Address - 123 Sample Street                  |
    |                                                  |
    | [Autofill] [No thanks]                           |
    ----------------------------------------------------

Re: Don't use autofill in your browser

#67
post #33
post #30

This seems like an easy fix for the layout engines. Only include a field on autofill if it's currently visible on screen. One might even classify this as a bug.

I suspect this would be very difficult to implement robustly. There are just too many ways to hide something: color it white, overlay another element on top, use a weird font that causes it to look like something else, ...

This would not be hard to do. There are standard names for the auto complete form inputs. The browser (or plugin) could be configured to notify you if some/any of those fields are about to be posted and warn the user using a native code generated pop-up (not a web pop-up).

Re: Don't use autofill in your browser

#69
post #57

Doesn't seem to be an issue in Firefox, as far as I can tell. Certainly didn't fill any other fields for me.

Works in Chrome if I use certain autofill sets (ended up testing with email address rather than name and it worked)

Chrome would not autofill my name, just my email and then it filled in everything else. Disabled it.

Re: Don't use autofill in your browser

#70
post #28

Earlier quoted context omitted.

An attacker that can make use of an auto-completing password field has got enough access to mean that the game is over anyway - they can get that password from a variety of other sources on the machine. Turning off autocomplete on login fields doesn't make that form more secure, and it does annoy users. As kalleboo says, it probably reduces security as your users change to easy to type passwords, or keep needing pass…

Sorry, there's a bit of misunderstanding here; I should have made it clearer. Password type fields shouldn't autocomplete on browsers anyway. The "good practice" I meant is for devs to set autocomplete off for the username field - to prevent the login username or email address popping up (especially if the site is accessed on public or shared computers).

That's just infuriating. You're choosing to break functionality that I rely on to help me log in to your website, and there's absolutely no reason to do so.

> especially if the site is accessed on public or shared computers

People setting up those computers need to learn how to provide clean sessions for their users, rather than relying on every single website in the world doing weird things in forms.

Post reply on HN