搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Why is Firefox adding autocomplete="off" to the login fields of my own web site?

  • 2 个回答
  • 1 人有此问题
  • 18 次查看
  • 最后回复者为 AlHolden

more options

First of all: It's my own web site, my own HTML.

When I look at the source code for my login form (both on my server and as-delivered to the browser), there is no autocomplete="off" attribute there.

And yet, when I examine the field using FireBug, I can see that autocomplete="off" exists there in the DOM. It's been applied to fields 'username' and 'password' for me. Thanks, mystery security overlord!

Consequently, I can not leverage the stored credentials from the security device to complete the form.

Does anybody know where that attribute is being added, and how to disable that?

Again, this is my own code. Thanks!

First of all: It's my own web site, my own HTML. When I look at the source code for my login form (both on my server and as-delivered to the browser), there is no autocomplete="off" attribute there. And yet, when I examine the field using FireBug, I can see that autocomplete="off" exists there in the DOM. It's been applied to fields 'username' and 'password' for me. Thanks, mystery security overlord! Consequently, I can not leverage the stored credentials from the security device to complete the form. Does anybody know where that attribute is being added, and how to disable that? Again, this is my own code. Thanks!

被采纳的解决方案

Can you post a link to a publicly accessible page that doesn't require authentication (signing on)?

Note that scripts also can add such a autocomplete attribute, so you may need to check the generated code or right-click in these fields and use "Inspect Element" or select the fields and use "View Selection Source" in the right-click context menu.

定位到答案原位置 👍 0

所有回复 (2)

more options

选择的解决方案

Can you post a link to a publicly accessible page that doesn't require authentication (signing on)?

Note that scripts also can add such a autocomplete attribute, so you may need to check the generated code or right-click in these fields and use "Inspect Element" or select the fields and use "View Selection Source" in the right-click context menu.

more options

You're right about the script cor-el.

My client had gone in without telling me - and added a jQuery mod which popped in those attributes at the $(document).ready event.

That's why I didn't see them while looking at the tag source. Face palm. Thanks!