{"id":3218,"date":"2020-04-16T17:49:07","date_gmt":"2020-04-16T22:49:07","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=3218"},"modified":"2020-04-17T12:06:27","modified_gmt":"2020-04-17T17:06:27","slug":"export-saved-firefox-logins","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/export-saved-firefox-logins\/","title":{"rendered":"Export Saved Firefox logins"},"content":{"rendered":"\n<p><a href=\"https:\/\/support.mozilla.org\/pt-BR\/questions\/1253828\">https:\/\/support.mozilla.org\/pt-BR\/questions\/1253828<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Enable Dev Tools<\/h2>\n\n\n\n<p>Open up a new tab, go to about:config.  Search for &#8220;devtools.chrome.enabled&#8221; and set to true<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/04\/image-2.png\" alt=\"\" class=\"wp-image-3223\" width=\"555\" height=\"364\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/04\/image-2.png 555w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/04\/image-2-300x197.png 300w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/04\/image-2-457x300.png 457w\" sizes=\"auto, (max-width: 555px) 100vw, 555px\" \/><figcaption>Enable Firefox Devtools Browser Console<\/figcaption><\/figure>\n\n\n\n<p>Now open up the Browser Console with &#8220;Ctrl + Shift + J&#8221; and past in the following<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">try {\n  signons = Services.logins.getAllLogins();\n  var csv = '\"Site\",\"Username\",\"Password\"';\n  for (var i=0; i&lt;signons.length; i++){\n    csv += '\\n';\n    csv += signons[i].httpRealm&nbsp;? \n      ('\"' + signons[i].hostname + ' (' + signons[i].httpRealm + ')\",\"')&nbsp;: \n      '\"' + signons[i].hostname + '\",\"';\n    csv += signons[i].username + '\",\"' + signons[i].password + '\"';\n  }\n  console.log(csv);\n} catch (err) {\n  console.log('Problem reading or outputting logins: '+err);\n}<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"924\" height=\"331\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/04\/image-3.png\" alt=\"\" class=\"wp-image-3224\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/04\/image-3.png 924w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/04\/image-3-300x107.png 300w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/04\/image-3-768x275.png 768w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2020\/04\/image-3-500x179.png 500w\" sizes=\"auto, (max-width: 924px) 100vw, 924px\" \/><figcaption>Browser Console, Running Script<\/figcaption><\/figure>\n\n\n\n<p>Hit enter to run the command and return all the saved logins.  You can copy and paste them, or export to file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/support.mozilla.org\/pt-BR\/questions\/1253828 Enable Dev Tools Open up a new tab, go to about:config. Search for &#8220;devtools.chrome.enabled&#8221; and set to true Now open up the Browser Console with &#8220;Ctrl + Shift + J&#8221; and past in the following try { signons = &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/export-saved-firefox-logins\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,44],"tags":[968,175,477,969,12,854,970],"class_list":["post-3218","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-web","tag-browser","tag-export","tag-firefox","tag-logins","tag-passwords","tag-pw","tag-saved"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=3218"}],"version-history":[{"count":3,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3218\/revisions"}],"predecessor-version":[{"id":3226,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/3218\/revisions\/3226"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=3218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=3218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=3218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}