openstreetmap / iD

🆔 The easy-to-use OpenStreetMap editor in JavaScript.
https://www.openstreetmap.org/edit?editor=id
ISC License
3.38k stars 1.21k forks source link

Stop password managers from autofilling address fields #10507

Open michaelabon opened 1 month ago

michaelabon commented 1 month ago

Description

I am a 1Password user (and employee). Whenever I am editing a local business's details in iD, I am frustrated that the 1Password browser extension offers to fill out my personal address instead of the business's address.

I don't work on our browser extension, I could not tell you why every password manager has their own custom data attribute when autocomplete=off exists.

I was very pleased to find out that there was already a well-used utility function to disable autocomplete/autocorrect/autocapitalize in modules/util/util.js under the utilNoAuto function. So, I already have a working commit that would address this for 1Password, Bitwarden, Dashlane, and LastPass. It extends what was already built in #3839 and #5818.

Screenshots

Screenshot 2024-10-18 at 12 16 32