我想禁用谷歌浏览器自动完成/自动填充/ 使用密码建议
类似于autocomplete ="off"(这一个不起作用).
代码如下
loginpage.php
<form class="form-method" method="post">
<span class="form-fill">
<text>Username</text>
<input placeholder="Username" required/>
<text>Password</text>
<input type="password" placeholder="Password" required/>
<button type="submit"></button>
</span>
</form>
Run Code Online (Sandbox Code Playgroud)
anotherform.php
<form method="REQUEST" class="vp-method">
<input type="password" maxlength="4" autocomplete="JUST STOP!"/>
<button type="submit" placeholder="DVN Number">Validate</button>
</form>
Run Code Online (Sandbox Code Playgroud)
如何禁用此谷歌浏览器自动完成/建议/自动填充没有使用JavaScript?
注意:我知道重复的问题.这些建议都没有奏效(因为我现在正在打字).
谢谢 :)