In the picture there is one detail that not everyone notices. Highlight arrow drop-down menu. So the site where you are located, offers the addition of a search plugin. Works in Firefox and IE.
This is done using the connection via the <link> XML file format OpenSearch . The simplest option for Habr will be:
< link rel ="search" type ="application/opensearchdescription+xml" title ="" href ="/habrasearch.xml" >
Voila! Now you can add Habr to your list of search engines. Important feature ( update from PM ) - for the arrow to go out after adding the plugin, the title attribute of the <link> tag and the <ShortName> tag of the xml-ki must be identical.
It is also easy to do auto-completion of the request (not for Habr, since it is necessary to make assumptions in a different format than they are sent to habrahabr.ru/ajax/suggest ). Add to the end a line like:
< Url type ="application/x-suggestions+json" method ="get" template ="http://site.com/suggestion.php?q={searchTerms}" />
And to the address /suggestion.php we give assumptions in the following format (simplified version):
[ ", " , [ " №1" , " №2" , " №3" ]]
This is how it works on one of the sponsored sites. Those interested can do it all by reading deeper the above link to opensearch.org
PS Habragrajdane - use OpenSearch!For this you will be grateful from users and an extra argument in the fight for bookmark visitors.