title: Accessing Search Query Text in Google Chrome Browser with Chrome Extension
body: <p>I'm building a Chrome extension for myself. I want to access my search bar so that I can feed my queries into my own private ingest server (for realtime processing). </p>
  
  <p>How does one access text entered into the search bar in Chrome? I started here <a href="https://developer.chrome.com/extensions/devguide" rel="nofollow">https://developer.chrome.com/extensions/devguide</a> but it's unclear where to actually access the query text. </p>