在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显示建议选择器列表,但是没有任何工作,结果是:
通过HTML或JQuery / javascript标记禁用此功能的方法,我无权访问PC上的所有Chrome安装,例如要编辑此功能
这不是提供密码的提议;这是从存储的密码(密码管理器)中选择的选择器。这会进入网页界面,并且由于无法访问浏览器设置,因此无法从网页中停用它。