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

前端 未结 14 1490
孤城傲影
孤城傲影 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

    Try using autocomplete="off". Not sure if every browser supports it, though. MSDN docs here.

    EDIT: Note: most browsers have dropped support for this attribute. See Is autocomplete="off" compatible with all modern browsers?

    This is arguably something that should be left up to the user rather than the web site designer.

提交回复
热议问题