Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

For Web Developers: How do we disable Firefox's 'Securely Generate Password '

  • 3 replies
  • 0 have this problem
  • 15 views
  • Last reply by Paul

more options

I'm putting together a webpage where employees can change/reset their LDAP passwords. Firefox asks if the user wants to generate a random one.

being an LDAP password, having their Firefox browser generate and manage it would not be practical as not all services using the LDAP password don't all run in Firefox.

I'm putting together a webpage where employees can change/reset their LDAP passwords. Firefox asks if the user wants to generate a random one. being an LDAP password, having their Firefox browser generate and manage it would not be practical as not all services using the LDAP password don't all run in Firefox.
Attached screenshots

All Replies (3)

more options

If an <input> has autocomplete="new-password", we have a strong signal that password generation is relevant for the field and so we should offer it to the user. With autocomplete="off" user can still generate a password, but he has to use the context menu.

Helpful?

more options

Mozilla rudely ignores autocomplete="off". The internal Mozilla code seems to be checking the field's placeholder, label, name, etc too.

Currently the best way to avoid this is to set the field to readonly on blur, and remove readonly on focus.

This is an L for Firefox. Please give web developers the say so on whether or not feilds should access Firefox's password manager.

view-source:resource://gre/modules/LoginManager.shared.sys.mjs view-source:resource://gre/modules/shared/NewPasswordModel.sys.mjs

Modified by Joseph Kreifels II

Helpful?

more options

Hi,

The people who answer questions here, for the most part, are other users volunteering their time (like me), not Mozilla employees or developers. If you want to leave feedback for developers, you can go to the Firefox Help menu and select Share ideas and feedback…. Alternatively, you can use this link. Your feedback gets collected by a team of people who read it and gather data about the most common issues.

You can also file a bug report or feature request. See File a bug report or feature request for Mozilla products for details.

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.