Thanks that's great advice.

-Andrew


On Oct 9, 5:10 am, Laurian <[email protected]> wrote:
> On Oct 7, 8:22 pm, Andrew  Wooldridge <[email protected]> wrote:
>
> > Say I was building a command for site x and I wanted to make sure I
> > was logged into that site. Is there any advice as to make sure that is
> > the case before the command continues?
>
> > It would be cool if I could do "command foo" and it would say
> > something like "you need to sign into x first please" in the preview
>
> You need either to look for a specific feature in a page retrieved
> from that site, like a know logout or profile link. Or try to retrieve
> something that will yield an error if not logged in.
>
> For example the 'share on delicious' command in view-source:resource://
> ubiquity/standard-feeds/social.js is inspecting a cookie to determine
> if the user is logged in.
>
> Laurian
--~--~---------~--~----~------------~-------~--~----~
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