Google Chrome: Search API?

I'm looking for a way to expose Google-Search functionality on my site so that chrome users can use context-sensitive searching (e.g:)

Chrome Search

I know YouTube is owned by Google, but I couldn't remember which 3rd party sites I had seen this feature work on before. Anyway, I couldn't find any reference to this in google-labs or on, so I've turned to you SO.

If anyone has any insight in how to expose this, or a reference doc, I'd be greatly appreciative.


Please note that I am basing my answer off of the context of your question, as at my work I cannot see the image. If my answer is not what you are looking for, please let me know.

I'm not sure if this exactly how Google Chrome does this, but Chrome supports it, and I found this by looking at the source code for this Stack Overflow page.

This is an XML specification for providing custom searching. It is currently supported by Chrome, FF, and IE7.

If you want to look at an example page, this is the link to the Stack Overflow specification:

Need Your Help

Function to calculate value from first row in Python Pandas

python pandas numpy

Is there any function in pandas to simulate excel formula like '=sum($A$1:A10'(for 10th row), i.e. the formula should take rolling data from 1st row.