[浏览器] Chrome的密码安全机制

This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. For more information, see https://goo.gl/zmWq3m.

翻译:此页面包含密码或信用卡输入,在不安全的上下文中。一个警告被添加到了URL栏中。有关更多信息,请参阅https://goo.gl/zmWq3m。

解决方法:给你的input密码框加上 autocomplete="new-password" 这段属性即可解决。

产生原因:页面中包含type是password的 input ,谷歌浏览器建议升级https传输密码。原因是浏览器blink内核的自动填充问题,如果页面使用了 https 协议则忽略。

猜你喜欢

转载自www.cnblogs.com/angusis/p/12319810.html