On 31 Mai, 04:38, Mohamed Mansour <
m0.interact...@gmail.com> wrote:
> Hello, the chrome.tabs.update has a callback parameter, does that help?
http://code.google.com/chrome/extensions/tabs.html#method-create
>
> <
http://code.google.com/chrome/extensions/tabs.html#method-create>
> chrome.tabs.create({'url': '
http://chromium.org'}, function(tab) {
> console.log('Tab Created ' +
tab.id);
>
> });
>
> -
> Mohamed Mansour
>
m...@chromium.org
>
>
>
> On Sun, May 30, 2010 at 7:04 PM, eadatepe <
eadat...@gmail.com> wrote:
> > hello chromium-coder,
>
> > i want to change the location with chrome.tabs.update and if it's
> > complete i want exectue a script.
> > i try it with chrome.tabs.onUpdated, but this function fires it
> > constantly.
> > this is my current working solution, but i don't like it.
> > setTimeout('chrome.tabs.executeScript(null,{file:"script.js"});',
> > 1000);
>
> > has someone has a better idea?
>
> > many thx
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Chromium-extensions" group.