0

I have an internal site with a search that contains a search field. What I want to do is based on a keyword and a value in chrome load that specific site, and input my value in the search field.

For instance:

typing in chrome address bar: "MyKeyWord TextToSearchFor" then chrome will load a specific url and execute javascript to input TextToSearchFor in the search field.

Is this possible?

matskn
  • 1,290
  • 6
  • 17
  • 30
  • It seems to be impossible to get text from chrome address bar: http://stackoverflow.com/questions/2671555/get-text-not-url-from-address-bar-in-google-chrome – Dayton Wang May 19 '15 at 20:30

1 Answers1

0

Use chrome.omnibox API.

See GitHub omnibox and other extensions.

wOxxOm
  • 65,848
  • 11
  • 132
  • 136