Philip Chee wrote:
On Sun, 31 Jan 2010 11:03:50 -0600, George Carden wrote:
BeeNeR wrote:
On or about 1/31/2010 10:58 AM, George Carden typed the following:
The old ways I am aware of for printing a list of passwords from the
Password Manager don't seem to work in SeaMonkey V2.

This link describes what I'd been doing...

http://edmullen.net/mozilla/moz_pw.php

Ed, or anyone, what is the best way to print passwords now in version 2?

Thanks!

-George

Try https://addons.mozilla.org/en-US/firefox/addon/2848


Only works with Firefox...not SeaMonkey.

SeaMonkey version here:
<http://xsidebar.mozdev.org/modifiedmisc.html#passwordexporter>

Phil


OK, got it installed. But, golly...isn't there an easier way to do this? I've been using an HTML file that I can just click on and it displays all my passwords right in the browser, clean as can be. But, it doesn't work with V 2.0. Can't even remember where it came from, but here's the script for it (Can somebody fix it to work with 2.0?)...


<html><head><title>Export Firefox Passwords</title>


<style type="text/css">
        td {font-family: verdana, arial, helvetica, sans-serif; font-size: 9pt;
        padding: 1px 2px 1px 2px;}
</style><!-- from Ernie at netscape.mozilla.firefox --></head><body oncontextmenu="return true;">

<table style="empty-cells: show;" align="center" border="1" cellspacing="0">
<tbody><tr>
<td align="center">
<b>Host</b>
</td>
<td align="center">
<b>User name</b>
</td>
<td align="center">
<b>Password</b>
</td>
</tr>

<script type="text/javascript">
<!--


netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');

var passwordmanager = Components.classes["@mozilla.org/passwordmanager;1"].getService(); passwordmanager = passwordmanager.QueryInterface(Components.interfaces.nsIPasswordManager);

  // loads signons into table
  var enumerator = passwordmanager.enumerator;
  var count = 0;

  while (enumerator.hasMoreElements()) {
    var nextPassword;
    try {
      nextPassword = enumerator.getNext();

nextPassword = nextPassword.QueryInterface(Components.interfaces.nsIPassword);
      var host = nextPassword.host;
      var user = nextPassword.user;
      var password = nextPassword.password;
      var rawuser = user;


document.write(" <tr>\n\n");
document.write(" <td align=left>\n\n");
document.write(" " + host + "\n\n </td>\n\n<td align=left>\n\n " + user + "\n\n </td>\n\n<td align=left>\n\n " + password + "\n\n </td>\n\n </tr>\n");

    } catch(e) {
      /* An entry is corrupt. Go to next element. */
    }
  }
-->
</script>
</tbody></table>
</body></html>



-George
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to