Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

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

  • 3 uphendule
  • 0 zinale nkinga
  • 121 views
  • Igcine ukuphendulwa ngu Paul

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.
Ama-screenshot ananyekiwe

All Replies (3)

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.

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

Okulungisiwe ngu Joseph Kreifels II

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.