Input type=password, don't let browser remember the password

前端 未结 14 1456
孤城傲影
孤城傲影 2020-11-28 05:04

I remember seeing a way to have an such that the browser will not prompt the user to save the password. But I

14条回答
  •  南方客
    南方客 (楼主)
    2020-11-28 05:21

    I tried the following and it seems that works to any browser:

    
    
    
    

    This way is much more safer than using timeout techniques, because it guaranties that the input field will yield to password when the user focuses it.

提交回复
热议问题