【问题标题】:Disable remember password alert in mozilla firefox在 Mozilla Firefox 中禁用记住密码警报
【发布时间】:2017-01-18 07:37:26
【问题描述】:

如何通过代码在 Mozilla Firefox 中禁用记住密码提醒

我试过这个......

<html>
<head>
<body>
    < input type ="password" autocomplete : off />
</body>
</head>
</html>

这适用于chrome和ie......但不适用于mozilla......任何人有解决方案请帮助我......!

并且还尝试将密码字段更改为文本字段然后它工作.... 但出于安全目的,这没有采取

【问题讨论】:

  • 您可以查看以下网址stackoverflow.com/questions/32369/…
  • 但它在 mozilla 上无法正常工作
  • 先学习语法。 &lt;input type ="password" autocomplete="off" /&gt;
  • 你应该先尝试........它在 mozilla 上不起作用............

标签: html css


【解决方案1】:

如果您尝试禁用&lt;input&gt;。这将工作&lt;input type ="password" disabled="disabled"/&gt;。添加disabled="disabled"

【解决方案2】:

现代浏览器放弃了对autocomplete="off" 的支持,请参阅此Is autocomplete="off" compatible with all modern browsers?

这里给出了一个jQuery解决方案Input type=password, don't let browser remember the password

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-01-21
    • 1970-01-01
    • 2017-05-14
    • 2016-08-15
    • 2011-12-09
    • 2014-04-23
    相关资源
    最近更新 更多