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