在Chrome中禁用密码列表建议

问题描述 投票:0回答:1

在html代码中,我尝试使用此代码:

<input type="password" name="password" autocomplete="new-password">
<input type="password" name="password" autocomplete="new">
<input type="password" name="password" autocomplete="off">
<input type="password" name="password" autocomplete="nope">

更新测试的不同名称标签:

<input type="password" name="p1" autocomplete="nope">
<input type="password" name="p2" autocomplete="nope">
<input type="password" name="ahgsfkhas" autocomplete="nope">

为了防止chrome显示建议选择器列表,但是没有任何工作,结果是:

enter image description here

通过HTML或JQuery / javascript标记禁用此功能的方法,我无权访问PC上的所有Chrome安装,例如要编辑此功能

这不是提供密码的提议;这是从存储的密码(密码管理器)中选择的选择器。这会进入网页界面,并且由于无法访问浏览器设置,因此无法从网页中停用它。

html google-chrome browser autocomplete
1个回答
0
投票
相对于浏览器设置=>自动输入=>密码=>提供保存密码(否)
© www.soinside.com 2019 - 2024. All rights reserved.