Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/entity-framework/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google chrome 将Chrome预测结果服务与自定义搜索引擎结合使用_Google Chrome_Search Engine - Fatal编程技术网

Google chrome 将Chrome预测结果服务与自定义搜索引擎结合使用

Google chrome 将Chrome预测结果服务与自定义搜索引擎结合使用,google-chrome,search-engine,Google Chrome,Search Engine,如果我在Chrome中将搜索引擎更改为自定义搜索引擎,Chrome URL预测服务将完全停止,即使我已启用使用预测服务帮助完成地址栏或app launcher搜索框中键入的搜索和URL。它只适用于默认搜索引擎,如谷歌、必应、雅虎。如何使其与我的自定义搜索引擎配合使用?终于找到了答案(感谢)。Chrome和其他新浏览器正在使用开放式搜索标准,搜索引擎可以使用该标准为Web浏览器提供更多细节 若要添加新的搜索引擎,请将此代码添加到您的网页 <a href="javascript:onClick

如果我在Chrome中将搜索引擎更改为自定义搜索引擎,Chrome URL预测服务将完全停止,即使我已启用
使用预测服务帮助完成地址栏或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&amp;gs_ri=chrome-ext-ansg&amp;xssi=t&amp;q={searchTerms}"/>
<Url type="text/html" method="GET" template="http://localhost/search?q={searchTerms}"/>
<SearchForm>http://localhost/</SearchForm>
</OpenSearchDescription>