Thank you very much, I didn't got firebug to work yet, I don't know
how to make it run the commands in ubiquity, and I don't know what's
the problem with the "let" syntax, the documentation I've read seems
to state that it's fine, and the twitter command works, but it doesn't
for identi.ca. So for sure i have still a lot to learn.

Fortunately, it seems to be working now, so I can use this command I
missed. I've added it to the wiki page, I hope it will be useful for
more people and this to be the usual procedure to follow with
commands. I may try to learn some javascript and add some
functionality at some point in the future a too distant future I'm
afraid.

Thank you again, best regards.

On Aug 22, 8:51 pm, canadaduane <[email protected]> wrote:
> >       for each (let url in ["https://identi.ca";, "http://identi.ca";])
> > {
> >         for each (let login in passwordManager.findLogins({}, url, "",
> > "")) {
> >           let {username} = login;
> >           if (username in usersFound) continue;
> >           usersFound[username] = true;
> >           list.push(CmdUtils.makeSugg(username, null, login));
> >         }
> >       }
>
> Yes, this is more of a javascript question than a ubiquity one.  But
> here's a hint, and maybe you can find help in other forums too:
>
> var urls = ["https://identi.ca";, "http://identi.ca";];
> for (url in urls) {
>     var logins = passwordManager.findLogins({}, url, "", "");
>     for (login in logins) {
>         var x = logins[login];
>         console.log(x); /* this line is so you can see it the result
> of the two loops in Firebug if you want */
>         /* do stuff with url and login */
>     }
>
> }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to