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
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey