I'm currently doing exactly what Aaron describes when a user clicks my toolstrip button to figure out if this is the first time the extension has been used. I also store our version number in local storage so I can tell if the extension was updated or not (I tell the user that an update occurred with a link to any new functionality).
Colin Aaron Boodman wrote: > There's nothing like that right now, though it is something we want to add. > > You could use web storage to implement it yourself. Basically store a > value the first time, and if it isn't there, you know you need to do > your first run stuff. > > http://dev.w3.org/html5/webstorage/ > > - a > > On Wed, Aug 26, 2009 at 12:09 PM, The Sailor<[email protected]> wrote: > >> I want to do a specific action only for the 1st time the extension >> gets installed on the chrome. Is there some event that the browser >> would send that i can listen to or some other way for my extension to >> know that it is the 1st time it got initiated after installation ? >> >> Basiaclly, I want to do few actions only on post installation of the >> extension. >> >> >> Thanks, >> - The Sailor. >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
