Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 2 réponses
  • 1 a ce problème
  • 3 vues
  • Dernière réponse par 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!

Solution choisie

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.

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (2)

more options

Solution choisie

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!