You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
一些浏览器并不align autocomplete, 可以额外 加一个透明的 password 和user name 的输入框。
那样你就会得到如下的 console 警告:
[DOM] Multiple forms should be contained in their own form elements; break up complex forms into ones that represent a single action: (More info: https://goo.gl/9p2vKq)
Activity
xiangshuo1992 commentedon Jun 24, 2019
同这道题有相关联:[css] 第27天 怎样修改chrome记住密码后自动填充表单的黄色背景?
autocomplete="off"
haizhilin2013 commentedon Jun 24, 2019
对的,是有点关联,但还是有些区别,第27天的题是修改自动填充的背景属于修改样式的范围。第69天的是禁止它自动填充。
thisisandy commentedon Jun 24, 2019
一些浏览器并不align autocomplete, 可以额外 加一个透明的 password 和user name 的输入框。
liuxiaole commentedon Jul 1, 2019
那样你就会得到如下的 console 警告:
[DOM] Multiple forms should be contained in their own form elements; break up complex forms into ones that represent a single action: (More info: https://goo.gl/9p2vKq)
klren0312 commentedon Jul 2, 2019
autocomplete = "new-password"
参考资料: https://developer.mozilla.org/zh-CN/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion
Lucenova commentedon Sep 18, 2019
我试了下Chrome浏览器比较新的版本使用autocomplete设置已经不行,还是得用上面大神的方法增加input框,贴一个比较全的链接:
https://www.cnblogs.com/chenqingbin/p/11051192.html
smile-2008 commentedon Jan 12, 2021