Phillip Jones wrote:
George Carden wrote:
Phillip Jones wrote:
George Carden wrote:
Phillip Jones wrote:
Ray_Net wrote:
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.
what I got. when I tried.


Strange. I dunno, gentlemen. Someone with more knowledge than I will
have to figure out why it works for me, but not for you. I'm sorry.

-George
maybe it worked on SM 1.1.18, but SM 1x , and 2x save information in
different files and different areas.

For example Themes in SM1.1.18 ere saved in the main Chrome Folder. And
FF 2 did as well. but in SM2 and FF3 there is nothing in Main chrome
other than User.css files I've yet to figure out where theme .jar files
are stored in SM 2 or FF 3.

For the record, the new code works for me with SeaMonkey 2.0.2.

-George
are You absolutely sure that you have your code exactly the same on the
the file you using and the version you have posted.

Here is what I have:

<!-- 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>


OK...Here's what I have...Let's compare... I see some differences. Try this one below and see if it works for you...again, in SeaMonkey V2:



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

Reply via email to