JavaScript could do that. Just add a window listener.

window.addEventListener("load", windowLoaded, false);

Within your windowLoaded function, you can check localStorage if the user
wants a popup to show, if they don't, then just close it using
"window.close()"


-Mohamed Mansour


On Mon, Jan 11, 2010 at 8:50 PM, Ronald Schouten <ron.schou...@gmail.com>wrote:

> Is it possible to detect when a Page_Action icon is clicked before the
> popup is opened? In some cases I want the popup to open while in
> others I want to prevent the popup from showing and have the content
> script take an action instead.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Chromium-extensions" group.
> To post to this group, send email to chromium-extensi...@googlegroups.com.
> To unsubscribe from this group, send email to
> chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/chromium-extensions?hl=en.
>
>
>
>
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-extensi...@googlegroups.com.
To unsubscribe from this group, send email to chromium-extensions+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.

Reply via email to