Is there a way...??
Thanks.
Import all pass/logins from Palemoon...??
-
- Posts: 522
- Joined: January 12th, 2004, 3:25 pm
-
- Posts: 522
- Joined: January 12th, 2004, 3:25 pm
Re: Import all pass/logins from Palemoon...??
Here is the link to my Firefox General post, kinda explains my situation a little fuller...
http://forums.mozillazine.org/viewtopic ... &t=3071953
http://forums.mozillazine.org/viewtopic ... &t=3071953
-
- Posts: 6437
- Joined: February 3rd, 2009, 6:29 pm
Re: Import all pass/logins from Palemoon...??
Maybe you could use the following code snippet to export login data in Pale Moon, then import login data from a file into Firefox.
More info
http://support.mozilla.org/questions/1253828
Import login data from a file
http://support.mozilla.org/kb/import-login-data-file
Export login data from Firefox Lockwise
http://support.mozilla.org/kb/export-lo ... x-lockwise
Reference
http://searchfox.org/mozilla-release/se ... xportAsCSV
Edit:
Here are the old doc pages. (not actively maintained)
nsILoginManager
http://developer.mozilla.org/docs/Mozil ... ginManager
nsILoginInfo
http://developer.mozilla.org/docs/Mozil ... ILoginInfo
I don't know what Gecko version your Pale Moon is based on.
Code: Select all
(function () {
try {
var signons = Services.logins.getAllLogins();
console.log(signons);
var csv = '"url","username","password","httpRealm","formActionOrigin",' +
'"guid","timeCreated","timeLastUsed","timePasswordChanged"';
for (var i = 0; i < signons.length; i++) {
csv += '\n' + '"';
csv += signons[i].origin + '","';
csv += signons[i].username + '","';
csv += signons[i].password + '","';
csv += signons[i].httpRealm + '","';
csv += signons[i].formActionOrigin + '","';
csv += signons[i].guid + '","';
csv += signons[i].timeCreated + '","';
csv += signons[i].timeLastUsed + '","';
csv += signons[i].timePasswordChanged + '"';
}
csv = csv.replace(/"null"/g, "");
console.log(csv);
} catch (e) {
console.log(e);
}
})();
http://support.mozilla.org/questions/1253828
Import login data from a file
http://support.mozilla.org/kb/import-login-data-file
Export login data from Firefox Lockwise
http://support.mozilla.org/kb/export-lo ... x-lockwise
Reference
http://searchfox.org/mozilla-release/se ... xportAsCSV
Edit:
Here are the old doc pages. (not actively maintained)
nsILoginManager
http://developer.mozilla.org/docs/Mozil ... ginManager
nsILoginInfo
http://developer.mozilla.org/docs/Mozil ... ILoginInfo
I don't know what Gecko version your Pale Moon is based on.
Last edited by morat on February 28th, 2021, 3:44 pm, edited 1 time in total.
-
- Posts: 522
- Joined: January 12th, 2004, 3:25 pm
Re: Import all pass/logins from Palemoon...??
Thanks, I'll give that a whirl....
-
- Posts: 522
- Joined: January 12th, 2004, 3:25 pm
Re: Import all pass/logins from Palemoon...??
Ok, I'm just gonna admit that I have no idea how to use that code. My coding skills are limited to, sadly, copy and paste.
I have managed to save my pale moon passwords intl an xml file. Anything there...??
Thanks.
I have managed to save my pale moon passwords intl an xml file. Anything there...??
Thanks.
-
- Posts: 6437
- Joined: February 3rd, 2009, 6:29 pm
Re: Import all pass/logins from Palemoon...??
There was an old addon to export logins, but I doubt the format is the same as the about:logins logins.csv file.
Password Exporter (obsolete)
http://addons.mozilla.org/thunderbird/addon/2848
Sorry, I don't know of a solution.
Password Exporter (obsolete)
http://addons.mozilla.org/thunderbird/addon/2848
Sorry, I don't know of a solution.
-
- Posts: 522
- Joined: January 12th, 2004, 3:25 pm
Re: Import all pass/logins from Palemoon...??
been reading a lot over the past couple, seems this a bit of an issue...morat wrote:There was an old addon to export logins, but I doubt the format is the same as the about:logins logins.csv file.
Password Exporter (obsolete)
http://addons.mozilla.org/thunderbird/addon/2848
Sorry, I don't know of a solution.
Thanks.