Sign in
go
/
go
/
8456b07099a89bab05e60ba1df8e6572c3c6bd81
/
.
/
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
});
});
}
});