chrome.extension.getURL("manifest.json") will give you the manifest and you
can take the information from there.☆PhistucK On Tue, Jan 5, 2010 at 15:08, Amina <[email protected]> wrote: > Hello, > > I developed a "Webpage screenshot" API. This extension use lot of the > features of HTML5 (databases, localStorage, canvas). > (https://chrome.google.com/extensions/detail/ > ckibcdccnfeookdmbahgiakhnjcddpki). > > The first time that my users install the extension, the extension > create a database, and save the extension version to localStorage. > When the extension updated, it checks what is the last version they > use, so I can make the necessary changed to the extension database. > > I am searching for a way to get the current extension version. > > I am asking to new API somethink like. > chrome.extensions.get(function (Extensions extension) {} ) > > Extension Type: {Name, Description, version} > > Example use: > chrome.extensions.get(function (ext) { localStorage['version'] > =ext.version; } ) > > Thank you. > > -- > 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]<chromium-extensions%[email protected]> > . > 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 [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.
