On Apr 29, 10:16 am, Arne Roomann-Kurrik <
kur...@chromium.org> wrote:
> You can fetch the manifest using XMLHttpRequest and decode it using
> JSON.parse. I've written a sample to do so which you can see here:
https://github.com/kurrik/chrome-extensions/tree/master/xhr-manifest
>
> ~Arne
>
> On Fri, Apr 29, 2011 at 8:07 AM, CqN on cr-48 devchannel 0.12.397.0 <
>
>
>
>
>
>
>
>
chackoner...@gmail.com> wrote:
> > Can data defined outside of the manifest file be used in the
> > manifest? Or the manifest's name string be retrieved from a
> > javascript? What I would like to do: is to have a common version
> > info (ideally updated in my main javascript) to be used everywhere,
> > including the manifest. The manifest's name string shows up in the
> > extension manager tab. It would be nice if the same info can be used
> > everywhere else. Manifest is seldom updated, but the version in the
> > main file is updated often (with every change, say). It would be very
> > nice to have the version info only one place.
>
> > Can anything like this be currently accomplished? Even if it needs to
> > use a js function, it is worth it to me to have the version auto
> > available everywhere.
>
> > CqN
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Chromium-extensions" group.