Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Funkcjonalność tej witryny będzie ograniczona w czasie konserwacji. Jeśli artykuł nie rozwiązuje twojego problemu i chcesz zadać pytanie, to nasza społeczność wsparcia jest dostępna na @FirefoxSupport na Twitterze i /r/firefox na Reddicie.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

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

  • 2 odpowiedzi
  • 1 osoba ma ten problem
  • 3 wyświetlenia
  • Ostatnia odpowiedź od 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!

Wybrane rozwiązanie

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.

Przeczytaj tę odpowiedź w całym kontekście 👍 0

Wszystkie odpowiedzi (2)

more options

Wybrane rozwiązanie

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!