Google chrome 将Chrome预测结果服务与自定义搜索引擎结合使用
如果我在Chrome中将搜索引擎更改为自定义搜索引擎,Chrome URL预测服务将完全停止,即使我已启用Google chrome 将Chrome预测结果服务与自定义搜索引擎结合使用,google-chrome,search-engine,Google Chrome,Search Engine,如果我在Chrome中将搜索引擎更改为自定义搜索引擎,Chrome URL预测服务将完全停止,即使我已启用使用预测服务帮助完成地址栏或app launcher搜索框中键入的搜索和URL。它只适用于默认搜索引擎,如谷歌、必应、雅虎。如何使其与我的自定义搜索引擎配合使用?终于找到了答案(感谢)。Chrome和其他新浏览器正在使用开放式搜索标准,搜索引擎可以使用该标准为Web浏览器提供更多细节 若要添加新的搜索引擎,请将此代码添加到您的网页 <a href="javascript:onClick
使用预测服务帮助完成地址栏或app launcher搜索框中键入的搜索和URL
。它只适用于默认搜索引擎,如谷歌、必应、雅虎。如何使其与我的自定义搜索引擎配合使用?终于找到了答案(感谢)。Chrome和其他新浏览器正在使用开放式搜索标准,搜索引擎可以使用该标准为Web浏览器提供更多细节
若要添加新的搜索引擎,请将此代码添加到您的网页
<a href="javascript:onClick=window.external.AddSearchProvider('search.xml');" target="_self">Add Custom Search</a>
有关该标准的更多信息,请参见
<?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>SE</ShortName>
<Description>Search using SE</Description>
<InputEncoding>UTF-8</InputEncoding>
<Url type="application/x-suggestions+json" method="GET" template="https://www.google.com/complete/search?client=chrome-omni&gs_ri=chrome-ext-ansg&xssi=t&q={searchTerms}"/>
<Url type="text/html" method="GET" template="http://localhost/search?q={searchTerms}"/>
<SearchForm>http://localhost/</SearchForm>
</OpenSearchDescription>