Live data from Hacker News

Chrome does not respect autocomplete=off (2018)

bugs.chromium.org

21–30 of 84 posts

Re: Chrome does not respect autocomplete=off (2018)

#21

Thanks, Chrome. So many sites have user-hostile code that is overridden by this choice. I still remember the glee when I first started using Chrome all those years ago, and suddenly all those forms filled themselves out.

But any new code that's being written just finds other ways to avoid autocomplete. Ignoring autocomplete=off makes the web a bit less standards compliant for a a very short temporary benefit.

Re: Chrome does not respect autocomplete=off (2018)

#23
post #12

Thanks, Chrome. So many sites have user-hostile code that is overridden by this choice. I still remember the glee when I first started using Chrome all those years ago, and suddenly all those forms filled themselves out.

I’ve seen autocomplete create plenty of problems. It can break some (admittedly poorly designed) forms outright. Or in others simply create a bad user experience. There are lots of forms that ask for an address but that should never be autocompleted to the user’s address. In practice as a developer you have to resort to JavaScript hacks and obfuscating form field names to avoid it.

Having worked on a number of CRM and other business applications, yep, it's maddening. Not all addresses and names are your address and name.

Re: Chrome does not respect autocomplete=off (2018)

#24
post #16
post #2

It’s pretty incredible to see the amount of steaming developers commenting on this issue. What tools do developers have, when platform providers turn a deaf ear to their needs?

The problem is that you’re only seeing angry developers and not the angry users frustrated that they can’t use autofill on sites that disable it for no real reason. Sites being able to change the behavior of the user-agent is almost always a bad thing. autocomplete=off should just be removed and it be entirely up to the user-agent whether it gets used like reader mode.

The browser can (and should) totally disregard what the webpage says if the user tells it to. The default should never be "break websites without asking the user".

Re: Chrome does not respect autocomplete=off (2018)

#25
post #16
post #2

It’s pretty incredible to see the amount of steaming developers commenting on this issue. What tools do developers have, when platform providers turn a deaf ear to their needs?

The problem is that you’re only seeing angry developers and not the angry users frustrated that they can’t use autofill on sites that disable it for no real reason. Sites being able to change the behavior of the user-agent is almost always a bad thing. autocomplete=off should just be removed and it be entirely up to the user-agent whether it gets used like reader mode.

Well.... As a user of forms that intentionally add autocomplete=off so that their own autocomplete forms show instead, it is very not good to see both autocomplete mechanisms compete with each other.

Re: Chrome does not respect autocomplete=off (2018)

#29
post #12

Thanks, Chrome. So many sites have user-hostile code that is overridden by this choice. I still remember the glee when I first started using Chrome all those years ago, and suddenly all those forms filled themselves out.

I’ve seen autocomplete create plenty of problems. It can break some (admittedly poorly designed) forms outright. Or in others simply create a bad user experience. There are lots of forms that ask for an address but that should never be autocompleted to the user’s address. In practice as a developer you have to resort to JavaScript hacks and obfuscating form field names to avoid it.

I really really wish there was a way (holding shift, ctrl or something) to only autofill the one field without it goig to fill/replace every other field on the page. It's so annoying when the stuff you just field get replaced just because you want to autofill one field.

Re: Chrome does not respect autocomplete=off (2018)

#30
post #18

It is ironic that so many developers are taking the time to complain on the bug tracker but won't simply write Chrome out of their org. I did that at a place and most of the users didn't even realize something had changed. No developers seem to have a problem simply refusing to support Firefox. I wonder how much extra effort it is going to take for them to finally make the switch.

Maybe you haven't checked this since 2013: https://gs.statcounter.com/browser-market-share

This statistic is not without reason. Chrome still has considerable usability and security advantages, especially for non-technical people(at least on anything that's not OS X), and still the best dev tools out there.

We can be lucky that FF at least tries to stick to standards where Safari doesn't bother.

Post reply on HN