Sign in
go
/
go
/
d92bc7a55aa11777bdb4605eda6536c64defb0d3
/
.
/
misc
/
chrome
/
gophertool
/
background.js
blob: d18faa986ff53de6fef1702721f01ce61c039436 [
file
] [
log
] [
blame
]
chrome
.
omnibox
.
onInputEntered
.
addListener
(
function
(
t
)
{
var
url
=
urlForInput
(
t
);
if
(
url
)
{
chrome
.
tabs
.
getSelected
(
null
,
function
(
tab
)
{
if
(!
tab
)
return
;
chrome
.
tabs
.
update
(
tab
.
id
,
{
"url"
:
url
,
"selected"
:
true
});
});
}
});