阻止360、谷歌浏览器表单自动填充

  1. 阻止谷歌表单自动填充
 <input type="text" id="idcode" maxlength="18" name="idcode" class="form-control" readonly onfocus="this.removeAttribute('readonly')">
  1. 阻止360表单自动填充,id任意取
<input type="text" id="idcode" maxlength="18" name="idcode" class="form-control" readonly onfocus="this.removeAttribute('readonly')">
<div style="height: 0;">
    <input id="password1" type="text" style="height: 0;width: 0;margin: 0;border: 0;padding: 0">
</div>

<input type="password" id="password" name="password" class="form-control">
<div style="height: 0;">
    <input id="password1" type="password" style="height: 0;width: 0;margin: 0;border: 0;padding: 0">
</div>

猜你喜欢

转载自blog.csdn.net/qwqw3333333/article/details/88712676