George Carden wrote:
Ray_Net wrote:
Herrmann Hofer wrote:
George Carden wrote:
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?)...


Well, this works for me (formatting may be broken):

<!-- SNIP -->
<html>
<head>
<title>Export Seamonkey Passwords</title>
<style type="text/css">
td {font-family: verdana, arial, helvetica, sans-serif; font-size: 9pt;
padding: 1px 2px 1px 2px;}
</style>
</head>
<body>
<table style="empty-cells: show;" align="center" border="1"
cellspacing="0">
<tr> <th>Host</th> <th>User name</th> <th>Password</th> </tr>

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

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


var loginmanager =
Components.classes["@mozilla.org/login-manager;1"].getService();
loginmanager =
loginmanager.QueryInterface(Components.interfaces.nsILoginManager);

// loads signons into table
var count = { value: 0 };
var logins = loginmanager.getAllLogins(count);

for each (var login in logins) {

document.write(" <tr>\n\n");
document.write(" <td align=left>\n\n");
document.write(" " + login.hostname + "\n\n </td>\n\n<td align=left>\n\n
" + login.username + "\n\n </td>\n\n<td align=left>\n\n " +
login.password + "\n\n </td>\n\n </tr>\n");

}
-->
</script>
</table>
</body>
</html>

It is not working here ...
Windows XP pro - SP3
Build identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.9.1.7) Gecko/20100104 NOT Firefox/3.5 SeaMonkey/2.0.2


You should cut & paste that code and save it as an HTML file on your
hard drive. Then when you open it, you'll have a nice neat HTML document
with URL's, User names and Passwords from the password manager. Then,
print it if you'd like...or whatever. Did you save it as an HTML file
first?

Yes, and to prove it, i just posted here:
http://home.scarlet.be/~pin10521/showpassword.htm

Perhaps this link permit you to show your passwords ...
For me, it's the same result; only a table containing
*******************************
* Host * User name * Password *
*******************************
is showed.
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to