LegacyCollector

Home | Legacy Firefox Extensions | Content Policy | Contact

Auto Password Registerer

Author(s):



Define a set of preferences like:

pref('[email protected](unique key).hostname',
'http://www.example.com:8080');
pref('[email protected](unique key).username',
'myname');
pref('[email protected](unique key).httpRealm',
'httpRealm');
pref('[email protected](unique key).password',
'mypassword');

Then, those given information will be stored to the password manager automatically. If there is existing password for the hostname and username, it will be updated.

If you don't want to store multiple login informations for a host, define an extra preference like:

pref('[email protected](unique key).exclusive',
true);

Then, all other login informations will be removed automatically.

Already-registered login information won't be registered again, even if you remove the stored password by hand. To register it again, you have to clear a preference [email protected](unique key).lastRegisterationTimestamp.
How to write preferences from visible information in the password manager

You can write preferences from the information shown in the password manager. For example, if your password manager saying like following:

Site | Username | Password | Last Used | Last Changed
---------------------------------------------------------------------
HOSTNAME1 (REALM1) | USERNAME1 | PASSWORD1 | ... | ...
HOSTNAME2 | USERNAME2 | PASSWORD2 | ... | ...
...

Then, you can write them like:

pref('[email protected]tname',
'HOSTNAME1');
pref('[email protected]rname',
'USERNAME1');
pref('extensions.auto-password-regist[email protected]',
'REALM1');
pref('[email protected]sword',
'PASSWORD1');
pref('[email protected]tname',
'HOSTNAME2');
pref('[email protected]rname',
'USERNAME2');
pref('[email protected]sword',
'PASSWORD2');

The value for "httpRealm" appears a part of the value in the "Site" column. You have to split "hostname" and "httpRealm" manually like above.

Download files:

auto-password-registerer-1.0.xpi




This page is part of the LegacyCollector website.
Disclaimer: All material on this site is property of their respective owners and available under
open licenses to the best of our knowledge. If you are an author and would like anything removed,
then please write an e-mail to legacy [at] collector dot org.