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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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
> [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<chromium-extensions%[email protected]>
> <chromium-extensions%2bunsu­[email protected]>
> > > .
> > > 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<chromium-extensions%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en.


Reply via email to