I am currently playing around with chrome extensions. I would like to catch google search parameters (i.e. the keyword query) and use them to display other stuff as the evernote extension does.
Does anybody have an idea how they implemented it?
Have been looking at the source code for quite a while now and couldn’t find anything.
Well the search term is the q parameter of the search url, so in a background page you could monitor tabs and then use parseUri (http://blog.stevenlevithan.com/archives/parseuri) to parse the url and get q.
Something like this…
background.js