Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 Area-Undefined

New issue 31604 by [email protected]: Sueggestion to new extension api:   
chrome.extensions.get();
http://code.google.com/p/chromium/issues/detail?id=31604

Hello,
(cross-posted to the Extensions-API group).

I developed a "Webpage screenshot" API. This extension use lot of the
features of HTML5 (databases, localStorage, canvas).
(https://chrome.google.com/extensions/detail/ckibcdccnfeookdmbahgiakhnjcddp
ki).

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 listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to