We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

JavaScript support to store passwords to Firefox password manager utility for latest Firefox versions

more options

I would like to store the password for a site as password manager does with "Remember Password" when we do a login. I'm planning to do it for automation purpose with below steps.

1. Load add-on when launching Firefox. This add-on will have a method to access Firefox Password Manager to store password. 2. Execute JavaScript that can call a method under add-on to store the password. Note: Second script will hold all information required to store password under password manager utility.

Can anyone help me on getting the step one to be completed ?

I would like to store the password for a site as password manager does with "Remember Password" when we do a login. I'm planning to do it for automation purpose with below steps. 1. Load add-on when launching Firefox. This add-on will have a method to access Firefox Password Manager to store password. 2. Execute JavaScript that can call a method under add-on to store the password. Note: Second script will hold all information required to store password under password manager utility. Can anyone help me on getting the step one to be completed ?

All Replies (1)

more options

For help with add-on development, refer to the following forum: