Enable "Tab to search" in a website
I am looking for a way 开发者_JS百科to enable Google Chrome's "Tab to search" feature on my website, does anyone have experience with this?
Google did not supply sufficient information for me and I am guessing this community is faster.
Much appreciated
You have to serve an opensearch xml, and link to it in your <head>
tag. See the specs here:
https://github.com/dewitt/opensearch
And a user friendly description here:
https://developer.mozilla.org/en-US/docs/Web/OpenSearch
精彩评论