Thanks for the tip! i see there is also a bug filed about this... On Dec 6, 7:10 am, Mohamed Mansour <m...@chromium.org> wrote: > I believe you can take advantage of local storage. You can paste the version > number in local storage, and for every run, you can check if the current > version differs from the extension version in the storage. If it differs, > you should what you want to show. > > Matias Pelenur from the extension mailing list did the following function so > you can get the version number: > (Source:http://groups.google.com/group/chromium-extensions/browse_thread/thre... > ) > > chrome.extension.getVersion = function() { > > if (!chrome.extension.version_) { > > var xhr = new XMLHttpRequest(); > > xhr.open("GET", chrome.extension.getURL('manifest.json'), false); > > xhr.onreadystatechange = function() { > > if (this.readyState == 4) { > > var manifest = JSON.parse(this.responseText); > > chrome.extension.version_ = manifest.version; > > } > > }; > > xhr.send(); > > } > > return chrome.extension.version_; > > } > > On Sat, Dec 5, 2009 at 11:57 PM, Teo [GD API Guru] > <teomina...@gmail.com>wrote: > > > > > > > Is there a way to do this right now? Specifically, i would want > > something like this show what's new in the new version in the actual > > UI of the extension.. (browser popup, etc.) > > > Thanks, > > Teo > > > -- > > > 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<chromium-extensions%2Bunsu > > bscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/chromium-extensions?hl=en. > > -- > - Mohamed Mansour
-- 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.