That way isn't persistent though. What I'm looking for is a way to give people the ability to permanently change the icon that the extension shows up with in the browser bar... Unless there is a way to get this to run automatically when the browser loads:
chrome.browserAction.setIcon({"path":localStorage["icon"]}); Thanks, Chris On Thu, Dec 10, 2009 at 6:53 PM, Finnur Thorarinsson <fin...@chromium.org>wrote: > No, but you don't need to do this. > > Check out: > http://code.google.com/chrome/extensions/browserAction.html#method-setIcon > > > On Thu, Dec 10, 2009 at 13:43, cmcculloh <cmccul...@gmail.com> wrote: > >> If I have the following in my chrome extension manifest file: >> >> "browser_action": { >> "default_icon": "ico32.gif", >> } >> And I want to give the user the ability to change it to the following >> from within the extension itself: >> >> "browser_action": { >> "default_icon": "ico32green.gif", >> } >> Is there a way to do that? >> >> >> >> http://stackoverflow.com/questions/1882842/is-there-a-way-to-edit-a-chrome-extension-manifest-file-from-within-the-extension >> >> -- >> >> You received this message because you are subscribed to the Google Groups >> "Chromium-extensions" group. >> To post to this group, send email to chromium-extensions@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.