Thanks Anders for your answer. Will try it out and see.

Cheers,

Marcos

On Mon, Oct 26, 2009 at 4:46 PM, Anders Sahlin <[email protected]> wrote:

>
> Oh, and of course in 1a) you also call window.close()!
>
> On Oct 26, 11:44 pm, Anders Sahlin <[email protected]> wrote:
> > In my case I used window.close() inside the popup.html script, which
> > should close the popup quickly enough not to see it. If you don't load
> > any HTML into the popup body before the login-check it will be very
> > hard to spot it opening:
> >
> > 1) Check login
> > 1a) Not logged in, open a new tab to the login page
> > 1b) Logged in, start filling HTML to the popup-page
> >
> > Good luck,
> > Anders
> >
> > On Oct 26, 4:24 pm, Markitusss <[email protected]> wrote:
> >
> >
> >
> > > Hi all,
> >
> > > Is it possible not to show up the Browser Action popup for a given use
> > > case? For example if we have the Browser Action in a not signed in
> > > state, we want that clicking on it will show the login page, but f the
> > > user is logged in, we want to show the popup with useful info. Is his
> > > possible? Or do we have to show and hide an empty popup?
> >
> > > Another solution might be to have some login info inside the popup
> > > when not logged in.
> >
> > > Thanks,
> >
> > > Marcos
> >
>


-- 
Marcos Aruj Alvarez
Ingeniero de Software
-------------------------------
[email protected]
-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" 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/chromium-extensions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to