Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

ابحث في الدعم

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: