dave-mccloskey/ruby-doc-search — pull request #1 by lorddoig (2013-05-24 20:54:39+00:00)
Title: Fixed bug, reformatted results, added option for preferred Ruby version.

Hi Dave,

I started tinkering with this because the Chrome security policies were preventing the script from both calling the Google API and from executing the retrieval in inline JS (the result being no inline results in the omnibar). I added a line to the manifest to allow communication with Google's API and moved the retrieval into a function. Problem solved.

I also reformatted the results to be a little prettier and (in my opinion) more useful.

Finally, I added the ability for users to enter their preferred Ruby version in an options page (using [fancy-settings](https://github.com/zealotrunner/fancy-settings)) which does nothing more than store their input in `localStorage` and prepend it to the search. Remarkably, it works really well!

I am definitely not a JS guy, however, and some of this might be sloppy to a pro, but it works.