Maybe it could.
You can send a message to a content script in that tab, that will make it go
back (history.go(-1)) and take the URL (from the onupdated event) and create
a new tab with that URL.

However, you cannot now whether URL updating was initiated by the Omnibox)
or by the website (or a link on which the user clicked.

So... I guess it will not help. Hehe. Sorry.

☆PhistucK


On Fri, Dec 11, 2009 at 16:56, GSA <artisticche...@gmail.com> wrote:

> I want to write extension which will open a tab when new URL is
> entered in URL bar, onUpdated event for current tab will not help in
> that case, is not it?
>
> On Dec 11, 8:51 am, PhistucK <phist...@gmail.com> wrote:
> > No. But you can observe the onUpdated event of tabs.
> http://code.google.com/chrome/extensions/tabs.html#event-onUpdated
> >
> > ☆PhistucK
> >
> >
> >
> > On Fri, Dec 11, 2009 at 03:14, GSA <artisticche...@gmail.com> wrote:
> > > Trying to figure out if I can detect user putting URL into URL bar and
> > > navigating to new link.
> >
> > > Thanks,
> > > G
> >
> > > --
> >
> > > 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>
> <chromium-extensions%2bunsu­bscr...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/chromium-extensions?hl=en.- Hide quoted
> text -
> >
> > - Show quoted text -
>
> --
>
> 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.


Reply via email to