On Mon, Oct 26, 2009 at 4:36 PM, Gabe <[email protected]> wrote:
> How do I enable multiple Page Actions within a single extension? The
> goal is to have an extension that searches for a particular line of
> code on the page and displays a different icon depending on the state
> of this line of code (eg. found- green, not found- red, contains a
> particular value- yellow).

You don't need multiple page actions for that. Like Pam said, you can
change the icon of a page action dynamically using
setIcon({path:"path/to/icon.png"});

Note, however, that there is a bug in the current dev channel release
that only lets this happen one time :(. See this thread for
workarounds:

http://groups.google.com/group/chromium-extensions/browse_thread/thread/402a0cd26932eff6

- a

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