You can also use chrome.tabs.executeScript, I think, but you need the "tabs" permission (in case you do not have it already) for that, which generates a scary install warning.
☆PhistucK On Sun, Dec 13, 2009 at 23:31, Sylvain MOUQUET <sylvain.mouq...@gmail.com>wrote: > I have used http://*/* and i have added > if (window.location.hostname.match("^www.google")) { > at the top of the javascript header > > if all the extensions used the generic pattern (http://*/*) all web > sites will be parsed and it will generate performance loss... > > > On 10 déc, 02:00, Daniel Wagner-Hall <dawag...@gmail.com> wrote: > > On Wed, Dec 9, 2009 at 4:58 PM, Sylvain MOUQUET > > > > <sylvain.mouq...@gmail.com> wrote: > > > Hi, > > > > > I have a problem with the current specification of the match patterns > > > (http://code.google.com/chrome/extensions/match_patterns.html). i > > > have developed a chrome extension and i have a problem with the google > > > configuration. Google redirects all calls from google.com to > > > google.fr, and i am not allowed to use the google.* pattern. And i > > > dont want to define each possibilites, i need a better tool. > > > > > The best solution is to allow to the developper to define each own > > > pattern, no? > > > > > Have a good day > > > > I believe currently the advice is to just use http://*/* until someone > > gets around to fixinghttp:// > code.google.com/p/chromium/issues/detail?id=18259 > > -- > > 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%2bunsubscr...@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.