我想禁用谷歌瀏覽器自動完成/自動填充/ 使用密碼建議
類似的自動完成=「關閉」(這一個不工作)。
禁用谷歌瀏覽器自動完成/自動填充/建議
的代碼是如下
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>
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>
如何禁用此谷歌鉻自動完成/建議/自動填充無需使用JavaScript?
注:我知道重複的問題。而且這些建議都沒有奏效(正如我現在打字的那樣)。
謝謝:)
最後一個很好的回答這個老年問題 –
NB最近的Chrome截至目前(61)確實尊重自動完成=「關閉」的輸入,除了邊緣情況下(用戶名&密碼)。 –
您是否需要其他瀏覽器的autocomplete =「false」?或者它受到所有瀏覽器的支持? – read