The limitations of only being able to use a single page action or a single browser action is by design, to fit with the minimalist aesthetic of chrome. However, you can change the icon at any time (typically from script in your background page) either to a different file bundled with your extension or images created dynamically in an ImageData object from a <canvas> tag. See the documentation for the setIcon() method of pageActions/browserActions.
On Mon, Oct 26, 2009 at 8:11 AM, Ali B. <[email protected]> wrote: > > Hi all > > I'm just getting started with extensions so please bear with me if I > started asking about what seems to be obvious. > I noticed that chrome complains that the same extension cannot add a > browser and a page action. Is there a reason for that? > Also there seems to be no way of adding more than one browser (or > page) action from the same extension. Wouldn't that be limiting to > what you can do with extensions? > > Cheers > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
