Answer the question
In order to leave comments, you need to log in
Search by Tab in Google Chrome, or how to optimize the site for this?
Gentlemen, good night everyone.
Surely everyone knows such a function in the browser as taboo search - when you enter the site address in the URL bar, you can press tab, and if chrome has detected a search engine on the site, you can directly access it after pressing tab. Something like this.
What do I need? I need to know how chrome detects and searches for a search engine on a site. As I understand it, these are the key names of the site forms (/search and other parts of the URL) that it searches for and analyzes. The fact is that, for example, a search in the LiveStreet engine, chrome literally immediately sees, and automatically searches for taboos.
So, can you tell me what names and general parameters are needed for forms in order for chrome to define the form as a search one?
Answer the question
In order to leave comments, you need to log in
In short and quickly:
<link rel="search" type="application/opensearchdescription+xml" title="Site Search" href="http://mysite.com/SearchEngineInfo.xml" />
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>Site Search</ShortName>
<Description>The search engine</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image type="image/x-icon" width="16" height="16">mysite.com/favicon.ico</Image>
<Url type="application/opensearchdescription+xml" rel="self" template="http://mysite.com/SearchEngineInfo.xml" />
<Url type="application/atom+xml" template="http://mysite.com/search?q={searchTerms}&p={startPage?}" />
<Url type="text/html" template="http://mysite.com/search?q={searchTerms}&p={startPage?}" />
<moz:SearchForm>mysite.com/search</moz:SearchForm>
</OpenSearchDescription>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question