Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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

  • 2 ответа
  • 1 имеет эту проблему
  • 3 просмотра
  • Последний ответ от 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!