1.阻止谷歌浏览器记住用户账号密码
<input id="password" type="password" name="password"
placeholder="密码" readonly onfocus="this.removeAttribute('readonly');" />
谷歌测试可行,不会弹出要记住账户密码的框;360浏览不会自动记住账户密码,原因不知;但是火狐还是会在你登录时弹出要记住账户密码的框。
1.阻止谷歌浏览器记住用户账号密码
<input id="password" type="password" name="password"
placeholder="密码" readonly onfocus="this.removeAttribute('readonly');" />
谷歌测试可行,不会弹出要记住账户密码的框;360浏览不会自动记住账户密码,原因不知;但是火狐还是会在你登录时弹出要记住账户密码的框。