Disable browser 'Save Password' functionality

前端 未结 30 3387
失恋的感觉
失恋的感觉 2020-11-21 23:29

One of the joys of working for a government healthcare agency is having to deal with all of the paranoia around dealing with PHI (Protected Health Information). Don\'t get m

30条回答
  •  名媛妹妹
    2020-11-21 23:48

    Markus raised a great point. I decided to look up the autocomplete attribute and got the following:

    The only downside to using this attribute is that it is not standard (it works in IE and Mozilla browsers), and would cause XHTML validation to fail. I think this is a case where it's reasonable to break validation however. (source)

    So I would have to say that although it doesn't work 100% across the board it is handled in the major browsers so its a great solution.

提交回复
热议问题