-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[html] 第69天 怎样禁止表单记住密码自动填充? #494
Comments
同这道题有相关联:[css] 第27天 怎样修改chrome记住密码后自动填充表单的黄色背景?
|
对的,是有点关联,但还是有些区别,第27天的题是修改自动填充的背景属于修改样式的范围。第69天的是禁止它自动填充。 |
一些浏览器并不align autocomplete, 可以额外 加一个透明的 password 和user name 的输入框。 |
那样你就会得到如下的 console 警告: |
|
我试了下Chrome浏览器比较新的版本使用autocomplete设置已经不行,还是得用上面大神的方法增加input框,贴一个比较全的链接: |
|
第69天 怎样禁止表单记住密码自动填充?
The text was updated successfully, but these errors were encountered: