title: Is it possible to create a chrome extension to intercept what user type in the browser search bar before redirect?
body: <p>I want to create a chrome extension to forward to different url based on keywords.</p>
  <p>For example</p>
  <p>If user type in search bar in the browser &quot;facebook joe&quot; or &quot;linkedin joe, the chrome extension could help to forward to &quot;facebook.com/joe&quot; or &quot;linkedin/in/joe&quot; respectively.</p>
  <p>How am I able to know what user type in the browser search bar in my chrome extension in order for me to do this forwarding ? Or what chrome api I need to use ?</p>
  <p><strong>The sequence of what I want to create is</strong></p>
  <ol>
  <li>User type some thing in the browser search bar</li>
  <li>User click enter</li>
  <li>The chrome extension will check if it is a keyword</li>
  <li>If it is a keyword, redirect it accordingly</li>
  <li>Otherwise, it do nothing and just go through the default behavior</li>
  </ol>