-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Use the autocomplete attribute as a hint #723
Conversation
It needs to be tested that saving new credentials still works if Also, please use One possible change for a "strict" mode would be that it doesn't add any new helpers after a login input field combination has been detected, unless it's happening via MutationObserver. Still, this could be just a modification to the default behaviour. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do the necessary changes requested in the previous message.
Hi @varjolintu. I made the change to And you are able to make changes in my branch, in case more changes are necessary. Please feel free to do so. Thanks. |
Just tested it. Works great! |
Can you squash the commits? Thanks. |
…lete="new-password". Identify fields with autocomplete="one-time-code" as TOTP fields.
d8b0f16
to
2cffdfa
Compare
@varjolintu Done. GitHub also has a squash and merge feature (if you press the arrow next to the merge button). It also let's you change the commit message. |
Thanks! I always forget that feature exists.. |
The change: Do not add helpers on fields that have
autocomplete="off"
orautocomplete="new-password"
. Identify fields withautocomplete="one-time-code"
as TOTP fields.Feel free to change things such as function naming, etc. I hope this PR is a good demonstration of what I am looking for. I used this MDN page: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
I think it would also be good to somehow be able to configure how aggressive the extension should be in trying to identify things. Sometimes I see the helpers on way too many fields and it would be nice to maybe have a "strict" mode option? Remember how browsers used to have (or still have?) a Quirks mode and Strict mode.
Anyhow, I hope you consider this. Thanks!