You can use location.hostname to get the ID of the current extension from any page in the extension process (such as the popup or background page).
- a On Wed, Nov 25, 2009 at 6:31 PM, pdknsk <pdk...@googlemail.com> wrote: > There is no such function, so I'd like to suggest it. I want to add a > link to https://chrome.google.com/extensions/detail/extensionid in the > popup but don't know the id before I upload the extension (or package > it and upload it with the key.pem file). That's only one extra step, > but it could be nicely automated. > > -- > > 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. > > > -- 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.