3

Duplicate of Disable browser save password functionality

Is there a way to tell the browser not to insert pre-Saved credential data into forms on websites?

For example I might have an application where I have to login first. I saved the credentials for this login.

When I now want to create a new user account in the control panel, the browser automatically fills in the values for the name and password field, although I want to create a new user.

Is there a way to stop this from happening? Thanks for your answers.

Edit: I mean that the browser fills in the saved credentials when opening the site. I do not mean offering pre-filled in values for that form. But when I open the site the whole textfield and passwordfield are filled out with my data. I'm looking for a xhtml way of doing this, so it is programming related.

Community
  • 1
  • 1
Sebastian Hoitz
  • 9,145
  • 13
  • 56
  • 74
  • If you mean that you are creating a webpage that you want to disable it in (I don't think this is the case), then add an autocomplete="off" attribute to the element. It is not standards compliant, but I think it works on most every browser that has autocomplete. – EBGreen Dec 18 '08 at 18:15
  • Why is this marked offensive? :-$ – Kev Dec 18 '08 at 18:16
  • Why was this closed as not-programming-related? – Kev Dec 18 '08 at 18:17
  • Because this is a browser config question. autocomplete="off" is not the answer, though it is interesting to know. – sblundy Dec 18 '08 at 18:19
  • Unless the OP clarifies whether he means in HTML or a browser setting then I think the benefit of the doubt applies and it should remain open. – Kev Dec 18 '08 at 18:20
  • Well, even if it were an HTML question, it would get closed as a dupe. – EBGreen Dec 18 '08 at 18:22
  • The example points to the config version. Sides, if it's the progrommatic question, it's a dup – sblundy Dec 18 '08 at 18:22
  • Alright Kev, how about we compromise. I'll just tag is not-programming-related. – sblundy Dec 18 '08 at 18:28
  • Does it matter in the long run which reason is used? Either it isn't programming related or if it is then it is a dupe and the dupe has been identified. – EBGreen Dec 18 '08 at 18:30
  • Thank you for editing to clarify Sebastian, but is this a question about a web page that you are writing the HTML? – EBGreen Dec 18 '08 at 18:34
  • Arguably, the close system needs to be refined. Especially for cases such as this one, where there's legitimate disagreement. But for now, the OP has a programmatic answer. – sblundy Dec 18 '08 at 18:36
  • @EBGreen yes, it is. I'm sorry when I could not describe it better. However, I got an answer :) – Sebastian Hoitz Dec 18 '08 at 18:37
  • Judging by the acceptance of the answer, the duplication is confirmed. – EBGreen Dec 18 '08 at 18:38

1 Answers1

2

From this older post the 'autocomplete' attribute may be your friend:

Disable browser 'Save Password' functionality

Community
  • 1
  • 1
Kev
  • 112,868
  • 50
  • 288
  • 373