Chromium 搜索引擎功能浅析c++

地址栏输入:chrome://settings/searchEngines

可以看到 有百度等数据源,那么如何调整其顺序呢,此数据又存储在哪里呢?

1、浏览器初始化搜索引擎数据来源在

components\search_engines\prepopulated_engines.json

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.// This file is used during build to generate prepopulated_engines.h/cc.
// For more details see tools/json_to_struct/json_to_struct.py.// Engine definitions. See prepopulated_engines_schema.json for the field
// definitions.// NOTES:
//   - CHANGE THE BELOW NUMBERS IF YOU ADD A NEW ENGINE; ID conflicts = bad!
//     - Make sure you update the int_variables below as described in comments.
//     - IDs > 1000 are reserved for distribution custom engines.
//   - NOTIFY the Chrome Webstore team if you add/delete a search engine or
//     change domain of an existing one (send email to webstore-eng@google.com).
//     They need to know the mapping between an engine's "id" and its URLs.
//   - Use HTTPS URLs when adding new search engines or adding URLs to existing
//     ones. It's not the 90s anymore.{"int_variables": {// When adding new engines, increment this number and use it as the new// max ID. This is used by UMA stats and must be updated to include the full// range or else not all engines will be counted in stats."kMaxPrepopulatedEngineID": 111,// Increment this if you change the data in ways that mean users with// existing data should get a new version. Otherwise, existing data may// continue to be used and updates made here will not always appear.// Also then run tools/search_engine_choice/generate_search_engine_icons.py."kCurrentDataVersion": 145},// The following engines are included in country lists and are added to the// list of search engines on the first run depending on user's country."elements": {"ask": {"name": "Ask","keyword": "ask.com","favicon_url": "https://www.ask.com/wp-content/uploads/sites/3/2021/10/ask-favicon.png","search_url": "https://www.ask.com/web?q={searchTerms}","suggest_url": "https://lss.sse-iacapps.com/query?q={searchTerms}&li=ff","type": "SEARCH_ENGINE_ASK","id": 4},"baidu": {"name": "\u767e\u5ea6","keyword": "baidu.com","favicon_url": "https://www.baidu.com/favicon.ico","search_url": "https://www.baidu.com/#ie={inputEncoding}&wd={searchTerms}","alternate_urls": ["https://www.baidu.com/s?ie={inputEncoding}&wd={searchTerms}","https://www.baidu.com/s?ie={inputEncoding}&word={searchTerms}","https://www.baidu.com/{google:pathWildcard}/s?ie={inputEncoding}&word={searchTerms}"],"suggest_url": "https://suggestion.baidu.com/su?wd={searchTerms}&action=opensearch&ie={inputEncoding}","type": "SEARCH_ENGINE_BAIDU","id": 21},"bing": {"name": "Bing","keyword": "bing.com","favicon_url": "https://www.bing.com/sa/simg/bing_p_rr_teal_min.ico","search_url": "https://www.bing.com/search?q={searchTerms}&PC=U316&FORM=CHROMN","suggest_url": "https://www.bing.com/osjson.aspx?query={searchTerms}&language={language}&PC=U316","image_url": "https://www.bing.com/images/detail/search?iss=sbiupload&FORM=CHROMI#enterInsights","new_tab_url": "https://www.bing.com/chrome/newtab","image_url_post_params": "imageBin={google:imageThumbnailBase64}","type": "SEARCH_ENGINE_BING","id": 3},"brave": {"name": "Brave Search","keyword": "search.brave.com","favicon_url": "https://cdn.search.brave.com/serp/favicon.ico","search_url": "https://search.brave.com/search?q={searchTerms}","suggest_url": "https://search.brave.com/api/suggest?q={searchTerms}","type": "SEARCH_ENGINE_BRAVE","id": 109},"coccoc": {"name": "Cốc Cốc","keyword": "coccoc.com","favicon_url": "https://coccoc.com/favicon.ico","search_url": "https://coccoc.com/search#query={searchTerms}","type": "SEARCH_ENGINE_COCCOC","id": 91},"daum": {"name": "Daum","keyword": "daum.net","favicon_url": "https://search.daum.net/favicon.ico","search_url": "https://search.daum.net/search?w=tot&DA=JU5&q={searchTerms}","suggest_url": "https://suggest.search.daum.net/sushi/opensearch/pc?q={searchTerms}&DA=JU6","type": "SEARCH_ENGINE_DAUM","id": 68},"duckduckgo": {"name": "DuckDuckGo","keyword": "duckduckgo.com","favicon_url": "https://duckduckgo.com/favicon.ico","search_url": "https://duckduckgo.com/?q={searchTerms}","suggest_url": "https://duckduckgo.com/ac/?q={searchTerms}&type=list","new_tab_url": "https://duckduckgo.com/chrome_newtab","type": "SEARCH_ENGINE_DUCKDUCKGO","id": 92},"ecosia": {"name": "Ecosia","keyword": "ecosia.org","favicon_url": "https://cdn.ecosia.org/assets/images/ico/favicon.ico","search_url": "https://www.ecosia.org/search?q={searchTerms}&addon=opensearch","suggest_url": "https://ac.ecosia.org/autocomplete?q={searchTerms}&type=list","new_tab_url": "https://www.ecosia.org/newtab/","type": "SEARCH_ENGINE_ECOSIA","id": 101},"google": {"name": "Google","keyword": "google.com","favicon_url": "https://www.google.com/images/branding/product/ico/googleg_alldp.ico","search_url": "{google:baseURL}search?q={searchTerms}&{google:RLZ}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:iOSSearchLanguage}{google:prefetchSource}{google:searchClient}{google:sourceId}{google:contextualSearchVersion}ie={inputEncoding}","suggest_url": "{google:baseSuggestURL}search?{google:searchFieldtrialParameter}client={google:suggestClient}&gs_ri={google:suggestRid}&xssi=t&q={searchTerms}&{google:inputType}{google:omniboxFocusType}{google:cursorPosition}{google:currentPageUrl}{google:pageClassification}{google:clientCacheTimeToLive}{google:searchVersion}{google:sessionToken}{google:prefetchQuery}sugkey={google:suggestAPIKeyParameter}","image_url": "{google:baseSearchByImageURL}upload","image_translate_url": "{google:baseSearchByImageURL}upload?filtertype=tr&{imageTranslateSourceLocale}{imageTranslateTargetLocale}","contextual_search_url": "{google:baseURL}_/contextualsearch?{google:contextualSearchVersion}{google:contextualSearchContextData}","image_url_post_params": "encoded_image={google:imageThumbnail},image_url={google:imageURL},sbisrc={google:imageSearchSource},original_width={google:imageOriginalWidth},original_height={google:imageOriginalHeight},processed_image_dimensions={google:processedImageDimensions}","side_search_param": "sidesearch","image_translate_source_language_param_key": "sourcelang","image_translate_target_language_param_key": "targetlang","side_image_search_param": "sideimagesearch","search_intent_params": ["si", "gs_ssp"],"alternate_urls": ["{google:baseURL}#q={searchTerms}","{google:baseURL}search#q={searchTerms}","{google:baseURL}webhp#q={searchTerms}","{google:baseURL}s#q={searchTerms}","{google:baseURL}s?q={searchTerms}"],"type": "SEARCH_ENGINE_GOOGLE","preconnect_to_search_url" : "ALLOWED","prefetch_likely_navigations" : "ALLOWED","id": 1},"karma": {"name": "Karma Search","keyword": "karmasearch.org","favicon_url": "https://karmasearch.org/favicon.ico","search_url": "https://karmasearch.org/search?q={searchTerms}","suggest_url": "https://api.karmasearch.org/search/autosuggest?q={searchTerms}","type": "SEARCH_ENGINE_KARMA","id": 110},"lilo": {"name": "Lilo","keyword": "lilo.org","favicon_url": "https://www.lilo.org/wp-content/themes/jarvis_wp/ajans/assets/favicon.ico","search_url": "https://search.lilo.org/?q={searchTerms}","suggest_url": "https://search.lilo.org/api/?service=suggestions&action=suggest&q={searchTerms}&f=chr","id": 111},"mail_ru": {"name": "@MAIL.RU","keyword": "mail.ru","favicon_url": "https://go.imgsmail.ru/favicon.ico","search_url": "https://go.mail.ru/search?q={searchTerms}&{mailru:referralID}&fr=ch_omnibox","alternate_urls": ["https://go.mail.ru/msearch?q={searchTerms}&{mailru:referralID}"],"new_tab_url": "https://go.mail.ru/chrome/newtab/","suggest_url": "https://suggests.go.mail.ru/chrome?q={searchTerms}","type": "SEARCH_ENGINE_MAILRU","id": 83},"mojeek": {"name": "Mojeek","keyword": "mojeek.com","favicon_url": "https://www.mojeek.com/favicon.ico","search_url": "https://www.mojeek.com/search?q={searchTerms}","type": "SEARCH_ENGINE_MOJEEK","id": 103},"naver": {"name": "\ub124\uc774\ubc84","keyword": "naver.com","favicon_url": "https://ssl.pstatic.net/sstatic/search/favicon/favicon_140327.ico","search_url": "https://search.naver.com/search.naver?ie={inputEncoding}&query={searchTerms}&sm=chr_hty","suggest_url": "https://ac.search.naver.com/nx/ac?of=os&ie={inputEncoding}&q={searchTerms}&oe={outputEncoding}","type": "SEARCH_ENGINE_NAVER","id": 67},"nona": {"name": "Nona","keyword": "nona.de","favicon_url": "https://www.nona.de/favicon.ico","search_url": "https://www.nona.de/?q={searchTerms}","suggest_url": "https://www.nona.de/autocomplete/?q={searchTerms}","type": "SEARCH_ENGINE_NONA","id": 107},"panda": {"name": "Panda Search","keyword": "panda-search.org","favicon_url": "https://panda-search.org/favicon.ico","search_url": "https://panda-search.org/search/?q={searchTerms}","suggest_url": "https://suggest.panda-search.org/suggest?rtag=pandaomn&rsrc=po&q={searchTerms}&fmt=cr","type": "SEARCH_ENGINE_PANDASEARCH","id": 104},"petal_search": {"name": "Petal Search","keyword": "petalsearch.com","favicon_url": "https://search-static-dre.dbankcdn.com/pc/v1/favicon.ico","search_url": "https://petalsearch.com/search?query={searchTerms}","type": "SEARCH_ENGINE_PETALSEARCH","id": 102},"presearch": {"name": "Presearch","keyword": "presearch.com","favicon_url": "https://presearch.com/favicon.ico","search_url": "https://presearch.com/search?q={searchTerms}&src=c","suggest_url": "https://presearch.com/api/suggest?q={searchTerms}&src=c","type": "SEARCH_ENGINE_PRESEARCH","id": 105},"quendu": {"name": "Quendu.com","keyword": "quendu.com","favicon_url": "https://quendu.com/assets/favicon-48x48.png","search_url": "https://www.quendu.com/search?q={searchTerms}","suggest_url": "https://www.quendu.com/suggest?query={searchTerms}","type": "SEARCH_ENGINE_QUENDU","id": 108},"qwant": {"name": "Qwant","keyword": "qwant.com","favicon_url": "https://www.qwant.com/favicon.ico","search_url": "https://www.qwant.com/?q={searchTerms}&client=opensearch","suggest_url": "https://api.qwant.com/api/suggest/?q={searchTerms}&client=opensearch","type": "SEARCH_ENGINE_QWANT","id": 94},"seznam_cz": {"name": "Seznam","keyword": "seznam.cz","favicon_url": "https://search.seznam.cz/favicon.ico","search_url": "https://search.seznam.cz/?q={searchTerms}","suggest_url": "https://suggest.seznam.cz/fulltext_ff?phrase={searchTerms}","type": "SEARCH_ENGINE_SEZNAM","id": 25},"seznam_sk": {"name": "Seznam","keyword": "seznam.sk","favicon_url": "https://search.seznam.sk/favicon.ico","search_url": "https://search.seznam.sk/?q={searchTerms}","suggest_url": "https://suggest.seznam.sk/fulltext_ff?phrase={searchTerms}","type": "SEARCH_ENGINE_SEZNAM","id": 25},"so_360": {"name": "360","keyword": "so.com","favicon_url": "https://www.so.com/favicon.ico","search_url": "https://www.so.com/s?ie={inputEncoding}&q={searchTerms}","alternate_urls": ["https://m.so.com/s?ie={inputEncoding}&q={searchTerms}","https://m.so.com/index.php?ie={inputEncoding}&q={searchTerms}"],"suggest_url": "https://sug.so.360.cn/suggest?encodein={inputEncoding}&encodeout={outputEncoding}&format=opensearch&word={searchTerms}","type": "SEARCH_ENGINE_360","id": 88},"sogou": {"name": "\u641c\u72d7","keyword": "sogou.com","favicon_url": "https://www.sogou.com/images/logo/old/favicon.ico","search_url": "https://www.sogou.com/web?ie={inputEncoding}&query={searchTerms}","alternate_urls": ["https://m.sogou.com/web/{google:pathWildcard}?ie={inputEncoding}&keyword={searchTerms}"],"suggest_url": "https://sugg.sogou.com/sugg/ajaj_json.jsp?type=addrbar&key={searchTerms}&ie={inputEncoding}&from=google","type": "SEARCH_ENGINE_SOGOU","id": 56},"yahoo": {"name": "Yahoo!","keyword": "yahoo.com","favicon_url": "https://search.yahoo.com/favicon.ico","search_url": "https://search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas_sfp&p={searchTerms}","suggest_url": "https://search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas_sfp&command={searchTerms}","new_tab_url": "https://search.yahoo.com?fr=crmas_sfp","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_ar": {"name": "Yahoo! Argentina","keyword": "ar.yahoo.com","favicon_url": "https://ar.search.yahoo.com/favicon.ico","search_url": "https://ar.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://ar.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_at": {"name": "Yahoo! \u00d6sterreich","keyword": "at.yahoo.com","favicon_url": "https://at.search.yahoo.com/favicon.ico","search_url": "https://at.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://at.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_au": {"name": "Yahoo!7","keyword": "au.yahoo.com","favicon_url": "https://au.search.yahoo.com/favicon.ico","search_url": "https://au.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://au.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_br": {"name": "Yahoo! Brasil","keyword": "br.yahoo.com","favicon_url": "https://br.search.yahoo.com/favicon.ico","search_url": "https://br.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://br.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_ca": {"name": "Yahoo! Canada","keyword": "ca.yahoo.com","favicon_url": "https://ca.search.yahoo.com/favicon.ico","search_url": "https://ca.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://ca.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_ch": {"name": "Yahoo! Schweiz","keyword": "ch.yahoo.com","favicon_url": "https://ch.search.yahoo.com/favicon.ico","search_url": "https://ch.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://ch.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_cl": {"name": "Yahoo! Chile","keyword": "cl.yahoo.com","favicon_url": "https://cl.search.yahoo.com/favicon.ico","search_url": "https://cl.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://cl.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_co": {"name": "Yahoo! Colombia","keyword": "co.yahoo.com","favicon_url": "https://co.search.yahoo.com/favicon.ico","search_url": "https://co.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://co.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_de": {"name": "Yahoo! Deutschland","keyword": "de.yahoo.com","favicon_url": "https://de.search.yahoo.com/favicon.ico","search_url": "https://de.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://de.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},// For regional Yahoo variants without a region-specific suggestion service,// suggestion is disabled. For some of them, we might consider using one of// the other language/country URLs as a fallback."yahoo_dk": {"name": "Yahoo! Danmark","keyword": "dk.yahoo.com","favicon_url": "https://dk.search.yahoo.com/favicon.ico","search_url": "https://dk.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_es": {"name": "Yahoo! Espa\u00f1a","keyword": "es.yahoo.com","favicon_url": "https://es.search.yahoo.com/favicon.ico","search_url": "https://es.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://es.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_fi": {"name": "Yahoo! Suomi","keyword": "fi.yahoo.com","favicon_url": "https://fi.search.yahoo.com/favicon.ico","search_url": "https://fi.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_fr": {"name": "Yahoo! France","keyword": "fr.yahoo.com","favicon_url": "https://fr.search.yahoo.com/favicon.ico","search_url": "https://fr.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://fr.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_hk": {"name": "Yahoo! Hong Kong","keyword": "hk.yahoo.com","favicon_url": "https://hk.search.yahoo.com/favicon.ico","search_url": "https://hk.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://hk.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_id": {"name": "Yahoo! Indonesia","keyword": "id.yahoo.com","favicon_url": "https://id.search.yahoo.com/favicon.ico","search_url": "https://id.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://id.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_in": {"name": "Yahoo! India","keyword": "in.yahoo.com","favicon_url": "https://in.search.yahoo.com/favicon.ico","search_url": "https://in.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://in.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_jp": {"name": "Yahoo! JAPAN","keyword": "yahoo.co.jp","favicon_url": "https://search.yahoo.co.jp/favicon.ico","search_url": "https://search.yahoo.co.jp/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://search.yahooapis.jp/AssistSearchService/V2/webassistSearch?p={searchTerms}&appid=oQsoxcyxg66enp0TYoirkKoryq6rF8bK76mW0KYxZ0v0WPLtn.Lix6wy8F_LwGWHUII-&output=fxjson&fr=crmas","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_mx": {"name": "Yahoo! M\u00e9xico","keyword": "mx.yahoo.com","favicon_url": "https://mx.search.yahoo.com/favicon.ico","search_url": "https://mx.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://mx.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_my": {"name": "Yahoo! Malaysia","keyword": "malaysia.yahoo.com","favicon_url": "https://malaysia.search.yahoo.com/favicon.ico","search_url": "https://malaysia.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://malaysia.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_nl": {"name": "Yahoo! Nederland","keyword": "nl.yahoo.com","favicon_url": "https://nl.search.yahoo.com/favicon.ico","search_url": "https://nl.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://nl.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_nz": {"name": "Yahoo! New Zealand","keyword": "nz.yahoo.com","favicon_url": "https://nz.search.yahoo.com/favicon.ico","search_url": "https://nz.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://nz.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_pe": {"name": "Yahoo! Per\u00fa","keyword": "pe.yahoo.com","favicon_url": "https://pe.search.yahoo.com/favicon.ico","search_url": "https://pe.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://pe.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_ph": {"name": "Yahoo! Philippines","keyword": "ph.yahoo.com","favicon_url": "https://ph.search.yahoo.com/favicon.ico","search_url": "https://ph.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://ph.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_se": {"name": "Yahoo! Sverige","keyword": "se.yahoo.com","favicon_url": "https://se.search.yahoo.com/favicon.ico","search_url": "https://se.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_sg": {"name": "Yahoo! Singapore","keyword": "sg.yahoo.com","favicon_url": "https://sg.search.yahoo.com/favicon.ico","search_url": "https://sg.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://sg.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_th": {"name": "Yahoo! \u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e44\u0e17\u0e22","keyword": "th.yahoo.com","favicon_url": "https://th.search.yahoo.com/favicon.ico","search_url": "https://th.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://th.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_tr": {"name": "Yahoo! T\u00fcrkiye","keyword": "tr.yahoo.com","favicon_url": "https://tr.search.yahoo.com/favicon.ico","search_url": "https://tr.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_tw": {"name": "Yahoo!\u5947\u6469","keyword": "tw.yahoo.com","favicon_url": "https://tw.search.yahoo.com/favicon.ico","search_url": "https://tw.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://tw.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_uk": {"name": "Yahoo! UK & Ireland","keyword": "uk.yahoo.com","favicon_url": "https://uk.search.yahoo.com/favicon.ico","search_url": "https://uk.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://uk.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_ve": {"name": "Yahoo! Venezuela","keyword": "ve.yahoo.com","favicon_url": "https://ve.search.yahoo.com/favicon.ico","search_url": "https://ve.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://ve.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yahoo_vn": {"name": "Yahoo! Vi\u1ec7t Nam","keyword": "vn.yahoo.com","favicon_url": "https://vn.search.yahoo.com/favicon.ico","search_url": "https://vn.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://vn.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"yandex_by": {"name": "\u042f\u043d\u0434\u0435\u043a\u0441","keyword": "yandex.by","favicon_url": "https://yastatic.net/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico","logo_url": "https://storage.ape.yandex.net/get/browser/Doodles/yandex/drawable-xxhdpi/yandex.png","search_url": "https://yandex.by/{yandex:searchPath}?text={searchTerms}","suggest_url": "https://suggest.yandex.by/suggest-ff.cgi?part={searchTerms}&{google:cursorPosition}","image_url": "https://yandex.by/images/search/?rpt=imageview","image_url_post_params": "upfile={google:imageThumbnail},original_width={google:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1","new_tab_url": "https://www.yandex.by/chrome/newtab","type": "SEARCH_ENGINE_YANDEX","id": 15},"yandex_com": {"name": "Yandex","keyword": "yandex.com","favicon_url": "https://yastatic.net/lego/_/rBTjd6UOPk5913OSn5ZQVYMTQWQ.ico","search_url": "https://yandex.com/search/?text={searchTerms}&from=os&clid=1836588","suggest_url": "https://suggest.yandex.com/suggest-ff.cgi?part={searchTerms}&{google:cursorPosition}&uil=en&v=3&sn=5","image_url": "https://yandex.com/images/search?rpt=imageview","image_url_post_params": "upfile={google:imageThumbnail},original_width={google:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1","type": "SEARCH_ENGINE_YANDEX","id": 15},"yandex_kz": {"name": "\u042f\u043d\u0434\u0435\u043a\u0441","keyword": "yandex.kz","favicon_url": "https://yastatic.net/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico","logo_url": "https://storage.ape.yandex.net/get/browser/Doodles/yandex/drawable-xxhdpi/yandex.png","search_url": "https://yandex.kz/{yandex:searchPath}?text={searchTerms}","suggest_url": "https://suggest.yandex.kz/suggest-ff.cgi?part={searchTerms}&{google:cursorPosition}","image_url": "https://yandex.kz/images/search/?rpt=imageview","image_url_post_params": "upfile={google:imageThumbnail},original_width={google:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1","new_tab_url": "https://www.yandex.kz/chrome/newtab","type": "SEARCH_ENGINE_YANDEX","id": 15},"yandex_ru": {"name": "\u042f\u043d\u0434\u0435\u043a\u0441","keyword": "yandex.ru","favicon_url": "https://yastatic.net/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico","logo_url": "https://storage.ape.yandex.net/get/browser/Doodles/yandex/drawable-xxhdpi/yandex.png","search_url": "https://yandex.ru/{yandex:searchPath}?text={searchTerms}&{yandex:referralID}","suggest_url": "https://suggest.yandex.ru/suggest-ff.cgi?part={searchTerms}&{google:cursorPosition}","image_url": "https://yandex.ru/images/search/?rpt=imageview","image_url_post_params": "upfile={google:imageThumbnail},original_width={google:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1","new_tab_url": "https://www.yandex.ru/chrome/newtab","type": "SEARCH_ENGINE_YANDEX","id": 15},"yandex_tr": {"name": "Yandex","keyword": "yandex.com.tr","favicon_url": "https://yastatic.net/lego/_/rBTjd6UOPk5913OSn5ZQVYMTQWQ.ico","search_url": "https://www.yandex.com.tr/{yandex:searchPath}?text={searchTerms}","suggest_url": "https://suggest.yandex.com.tr/suggest-ff.cgi?part={searchTerms}&{google:cursorPosition}","image_url": "https://yandex.com.tr/gorsel/search?rpt=imageview","image_url_post_params": "upfile={google:imageThumbnail},original_width={google:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1","new_tab_url": "https://www.yandex.com.tr/chrome/newtab","type": "SEARCH_ENGINE_YANDEX","id": 15},"yandex_ua": {"name": "\u042f\u043d\u0434\u0435\u043a\u0441","keyword": "yandex.ua","favicon_url": "https://yastatic.net/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico","logo_url": "https://storage.ape.yandex.net/get/browser/Doodles/yandex/drawable-xxhdpi/yandex.png","search_url": "https://yandex.ua/{yandex:searchPath}?text={searchTerms}","suggest_url": "https://suggest.yandex.ua/suggest-ff.cgi?part={searchTerms}&{google:cursorPosition}","image_url": "https://yandex.ua/images/search/?rpt=imageview","image_url_post_params": "upfile={google:imageThumbnail},original_width={google:imageOriginalWidth},original_height={google:imageOriginalHeight},prg=1","new_tab_url": "https://www.yandex.ua/chrome/newtab","type": "SEARCH_ENGINE_YANDEX","id": 15},"yep": {"name": "Yep","keyword": "yep.com","favicon_url": "https://cdn.yep.com/static/meta/favicon.ico","search_url": "https://yep.com/web?q={searchTerms}","suggest_url": "https://api.yep.com/ac/?query={searchTerms}&os=true","type": "SEARCH_ENGINE_YEP","id": 106},// UMA-only engines // The following engines are not included in any of the country lists. They// are listed in |kAllEngines|, however, so that GetEngineType can find them// for UMA reporting purposes."atlas_cz": {"name": "Atlas.cz","keyword": "atlas.cz","favicon_url": "https://searchatlas.centrum.cz/favicon.ico","search_url": "https://searchatlas.centrum.cz/?q={searchTerms}","alternate_urls": ["http://searchatlas.centrum.cz/?q={searchTerms}"],"suggest_url": "http://radce.centrum.cz/?q={searchTerms}&of=1","type": "SEARCH_ENGINE_ATLAS","id": 27},"atlas_sk": {"name": "ATLAS.SK","keyword": "atlas.sk","favicon_url": "http://static.mediacentrum.sk/katalog/atlas.sk/images/favicon.ico","search_url": "https://hladaj.atlas.sk/fulltext/?phrase={searchTerms}","alternate_urls": ["http://hladaj.atlas.sk/fulltext/?phrase={searchTerms}"],"type": "SEARCH_ENGINE_ATLAS","id": 27},"avg": {"name": "AVG","keyword": "search.avg.com","favicon_url": "http://search.avg.com/favicon.ico","search_url": "http://search.avg.com/search?q={searchTerms}","alternate_urls": ["http://isearch.avg.com/search?q={searchTerms}","http://search.avg.com/route/?q={searchTerms}&lng={language}","https://isearch.avg.com/search?q={searchTerms}","https://search.avg.com/route/?q={searchTerms}&lng={language}"],"type": "SEARCH_ENGINE_AVG","id": 50},"babylon": {"name": "Babylon","keyword": "search.babylon.com","favicon_url": "http://search.babylon.com/favicon.ico","search_url": "http://search.babylon.com/home?q={searchTerms}","alternate_urls": ["http://search.babylon.com/?q={searchTerms}"],"type": "SEARCH_ENGINE_BABYLON","id": 64},"conduit": {"name": "Conduit","keyword": "conduit.com","favicon_url": "http://www.conduit.com/favicon.ico","search_url": "http://www.conduit.com/search?q={searchTerms}&ie={inputEncoding}&cx=010301873083402539744%3Anxaq5wgrtuo&cof=forid%3A11","alternate_urls": ["http://search.conduit.com/Results.aspx?q={searchTerms}"],"type": "SEARCH_ENGINE_CONDUIT","id": 36},"delfi_lt": {"name": "DELFI","keyword": "delfi.lt","favicon_url": "https://www.delfi.lt/favicon.ico","search_url": "https://www.delfi.lt/paieska/?q={searchTerms}","alternate_urls": ["http://www.delfi.lt/paieska/?q={searchTerms}"],"type": "SEARCH_ENGINE_DELFI","id": 45},"delfi_lv": {"name": "DELFI","keyword": "delfi.lv","favicon_url": "http://g1.delphi.lv/favicon.ico","search_url": "http://www.delfi.lv/search_all/?ie={inputEncoding}&q={searchTerms}&lang={language}&cx=partner-pub-7754285690273419%3A1507605038&cof=FORID%3A10","type": "SEARCH_ENGINE_DELFI","id": 45},"delta": {"name": "Delta","keyword": "delta-search.com","favicon_url": "http://www.delta-search.com/favicon.ico","search_url": "http://www.delta-search.com/home?q={searchTerms}","alternate_urls": ["http://www.delta-search.com/?q={searchTerms}","http://www1.delta-search.com/home?q={searchTerms}","http://www1.delta-search.com/?q={searchTerms}","http://www2.delta-search.com/home?q={searchTerms}","http://www2.delta-search.com/?q={searchTerms}","http://www.search.delta-search.com/home?q={searchTerms}","http://www.search.delta-search.com/?q={searchTerms}","http://www.yhs.delta-search.com/home?q={searchTerms}","http://www.yhs.delta-search.com/?q={searchTerms}","http://mixidj.delta-search.com/home?q={searchTerms}","http://mixidj.delta-search.com/?q={searchTerms}","http://www.search.delta-search.com/home?q={searchTerms}","http://www.search.delta-search.com/?q={searchTerms}"],"type": "SEARCH_ENGINE_DELTA","id": 66},"funmoods": {"name": "Funmoods","keyword": "searchfunmoods.com","favicon_url": "http://searchfunmoods.com/favicon.ico","search_url": "http://searchfunmoods.com/results.php?q={searchTerms}","type": "SEARCH_ENGINE_FUNMOODS","id": 60},"givero": {"name": "Givero","keyword": "givero.com","favicon_url": "https://www.givero.com/favicon.ico","search_url": "https://www.givero.com/search?q={searchTerms}","suggest_url": "https://www.givero.com/suggest?q={searchTerms}","type": "SEARCH_ENGINE_GIVERO","id": 95},"gmx": {"name": "GMX Search","keyword": "search.gmx.com","favicon_url": "https://dl.gmx.com/apps/favicon.ico","search_url": "https://search.gmx.com/web/result?q={searchTerms}&sp=b","suggest_url": "https://suggestplugin.gmx.com/s?q={searchTerms}&brand=gmxcom&enc={inputEncoding}&sp=b","type": "SEARCH_ENGINE_GMX","id": 96},"gmx_at": {"name": "GMX Suche","keyword": "suche.gmx.at","favicon_url": "https://dl.gmx.com/apps/favicon.ico","search_url": "https://suche.gmx.at/web/result?q={searchTerms}&sp=b","suggest_url": "https://suggestplugin.gmx.at/s?q={searchTerms}&brand=gmxat&enc={inputEncoding}&sp=b","type": "SEARCH_ENGINE_GMX","id": 96},"gmx_de": {"name": "GMX Suche","keyword": "suche.gmx.net","favicon_url": "https://dl.gmx.com/apps/favicon.ico","search_url": "https://suche.gmx.net/web/result?q={searchTerms}&sp=b","suggest_url": "https://suggestplugin.gmx.net/s?q={searchTerms}&brand=gmx&enc={inputEncoding}&sp=b","type": "SEARCH_ENGINE_GMX","id": 96},"gmx_es": {"name": "GMX Search","keyword": "search.gmx.es","favicon_url": "https://dl.gmx.com/apps/favicon.ico","search_url": "https://search.gmx.es/web/result?q={searchTerms}&sp=b","suggest_url": "https://suggestplugin.gmx.es/s?q={searchTerms}&brand=gmxes&enc={inputEncoding}&sp=b","type": "SEARCH_ENGINE_GMX","id": 96},"gmx_fr": {"name": "GMX Search","keyword": "search.gmx.fr","favicon_url": "https://dl.gmx.com/apps/favicon.ico","search_url": "https://search.gmx.fr/web/result?q={searchTerms}&sp=b","suggest_url": "https://suggestplugin.gmx.fr/s?q={searchTerms}&brand=gmxfr&enc={inputEncoding}&sp=b","type": "SEARCH_ENGINE_GMX","id": 96},"gmx_gb": {"name": "GMX Search","keyword": "search.gmx.co.uk","favicon_url": "https://dl.gmx.com/apps/favicon.ico","search_url": "https://search.gmx.co.uk/web/result?q={searchTerms}&sp=b","suggest_url": "https://suggestplugin.gmx.co.uk/s?q={searchTerms}&brand=gmxcouk&enc={inputEncoding}&sp=b","type": "SEARCH_ENGINE_GMX","id": 96},"goo": {"name": "goo","keyword": "search.goo.ne.jp","favicon_url": "https://search.goo.ne.jp/cdn/common/img/favicon.ico","search_url": "https://search.goo.ne.jp/web.jsp?MT={searchTerms}&IE={inputEncoding}","suggest_url": "https://search.goo.ne.jp/sgt.jsp?MT={searchTerms}&CL=plugin&FM=json&IE={inputEncoding}","alternate_urls": ["http://search.goo.ne.jp/web.jsp?MT={searchTerms}&IE={inputEncoding}","http://search.goo.ne.jp/sgt.jsp?MT={searchTerms}&CL=plugin&FM=json&IE={inputEncoding}"],"encoding": "EUC-JP","type": "SEARCH_ENGINE_GOO","id": 23},"imesh": {"name": "IMesh","keyword": "search.imesh.net","favicon_url": "http://search.imesh.net/favicon.ico","search_url": "http://search.imesh.net/music?hl={language}&si={searchTerms}","type": "SEARCH_ENGINE_IMESH","id": 81},"iminent": {"name": "SearchTheWeb","keyword": "iminent.com","favicon_url": "http://search.iminent.com/Shared/Images/favicon_gl.ico","search_url": "http://search.iminent.com/?q={searchTerms}","alternate_urls": ["http://search.iminent.com/SearchTheWeb/v6/1033/homepage/Default.aspx#q={searchTerms}","http://search.iminent.com/SearchTheWeb/v6/1033/homepage/Result.aspx#q={searchTerms}","http://start.iminent.com/?q={searchTerms}","http://start.iminent.com/StartWeb/1033/homepage/#q={searchTerms}"],"type": "SEARCH_ENGINE_IMINENT","id": 79},"in": {"name": "in.gr","keyword": "in.gr","favicon_url": "http://find.in.gr/Themes/1/Default/Media/Layout/icon_in.png","search_url": "http://find.in.gr/?q={searchTerms}&ie={inputEncoding}&cx=partner-pub-3451081775397713%3Aklnvxp4nycj&cof=FORID%3A9","type": "SEARCH_ENGINE_IN","id": 54},"incredibar": {"name": "MyStart","keyword": "mystart.incredibar.com","favicon_url": "http://search.incredibar.com/favicon.ico","search_url": "http://search.incredibar.com/search.php?q={searchTerms}","alternate_urls": ["http://search.incredibar.com/?q={searchTerms}","http://mystart.incredibar.com/?search={searchTerms}"],"type": "SEARCH_ENGINE_INCREDIBAR","id": 74},"info_com": {"name": "Info.com","keyword": "info.com","favicon_url": "https://www.info.com/static/www.info.com/favicon.ico","search_url": "https://www.info.com/serp?q={searchTerms}&segment=info.0472","type": "SEARCH_ENGINE_INFO_COM","id": 97},"libero": {"name": "Libero","keyword": "libero.it","favicon_url": "http://ms1.iol.it/graph_hf/v.8.3.04/themes/default/img/favicon.ico","search_url": "http://arianna.libero.it/search/abin/integrata.cgi?query={searchTerms}","encoding": "ISO-8859-1","type": "SEARCH_ENGINE_LIBERO","id": 63},"metager_de": {"name": "MetaGer","keyword": "metager.de","favicon_url": "https://metager.de/favicon.ico","search_url": "https://metager.de/meta/meta.ger3?eingabe={searchTerms}","type": "SEARCH_ENGINE_METAGER","id": 98},"metager_gb": {"name": "MetaGer","keyword": "metager.org","favicon_url": "https://metager.de/favicon.ico","search_url": "https://metager.org/meta/meta.ger3?eingabe={searchTerms}","type": "SEARCH_ENGINE_METAGER","id": 98},"neti": {"name": "NETI","keyword": "neti.ee","favicon_url": "http://www.neti.ee/favicon.ico","search_url": "http://www.neti.ee/cgi-bin/otsing?query={searchTerms}","suggest_url": "http://www.neti.ee/api/suggestOS?suggestQuery={searchTerms}","alternate_urls": ["https://www.neti.ee/cgi-bin/otsing?query={searchTerms}&src=web","https://www.neti.ee/api/suggestOS?suggestVersion=1&suggestQuery={searchTerms}"],"encoding": "ISO-8859-1","type": "SEARCH_ENGINE_NETI","id": 44},"nigma": {"name": "\u041d\u0438\u0433\u043c\u0430","keyword": "nigma.ru","favicon_url": "http://nigma.ru/themes/nigma/img/favicon.ico","search_url": "http://nigma.ru/?s={searchTerms}","suggest_url": "http://autocomplete.nigma.ru/complete/query_help.php?suggest=true&q={searchTerms}","type": "SEARCH_ENGINE_NIGMA","id": 43},"oceanhero":{"name": "OceanHero","keyword": "oceanhero.today","favicon_url": "https://oceanhero.today/favicon.ico","search_url": "https://oceanhero.today/web?q={searchTerms}","suggest_url": "https://api.oceanhero.today/suggestions?q={searchTerms}","type": "SEARCH_ENGINE_OCEANHERO","id": 99},"ok": {"name": "OK.hu","keyword": "ok.hu","favicon_url": "http://ok.hu/gfx/favicon.ico","search_url": "http://ok.hu/katalogus?q={searchTerms}","encoding": "ISO-8859-2","type": "SEARCH_ENGINE_OK","id": 6},"privacywall": {"name": "PrivacyWall","keyword": "privacywall.org","favicon_url": "https://www.privacywall.org/images/favicon_32x32.ico","search_url": "https://www.privacywall.org/search/secure/?q={searchTerms}","suggest_url": "https://search.privacywall.org/suggest.php?q={searchTerms}","type": "SEARCH_ENGINE_PRIVACYWALL","id": 100},"rambler": {"name": "\u0420\u0430\u043c\u0431\u043b\u0435\u0440","keyword": "rambler.ru","favicon_url": "http://i.rl0.ru/2011/icons/rambler.ico","search_url": "http://nova.rambler.ru/search?query={searchTerms}","suggest_url": "http://nova.rambler.ru/suggest?v=3&query={searchTerms}","alternate_urls": ["https://nova.rambler.ru/search?query={searchTerms}","https://nova.rambler.ru/suggest?v=3&query={searchTerms}"],"type": "SEARCH_ENGINE_RAMBLER","id": 16},"sapo": {"name": "SAPO","keyword": "sapo.pt","favicon_url": "http://imgs.sapo.pt/images/sapo.ico","search_url": "http://pesquisa.sapo.pt/?q={searchTerms}","suggest_url": "http://pesquisa.sapo.pt/livesapo?q={searchTerms}","type": "SEARCH_ENGINE_SAPO","id": 77},"searchnu": {"name": "searchnu","keyword": "searchnu.com","favicon_url": "http://www.searchnu.com/favicon.ico","search_url": "http://www.searchnu.com/web?hl={language}&si={searchTerms}","type": "SEARCH_ENGINE_SEARCHNU","id": 61},"search_results": {"name": "Search-results","keyword": "search-results.com","favicon_url": "http://ak.apnstatic.com/media/images/favicon_search-results.ico","search_url": "http://dts.search-results.com/sr?lng={language}&src=hmp&q={searchTerms}","alternate_urls": ["http://www.search-results.com/web?q={searchTerms}"],"type": "SEARCH_ENGINE_SEARCH_RESULTS","id": 78},"snapdo": {"name": "SnapDo","keyword": "search.snapdo.com","favicon_url": "http://linkurystoragenorthus.blob.core.windows.net/static/favicon.ico","search_url": "http://search.snapdo.com/?q={searchTerms}","alternate_urls": ["http://search.snap.do/?q={searchTerms}","http://feed.snapdo.com/?q={searchTerms}","http://feed.snap.do/?q={searchTerms}"],"type": "SEARCH_ENGINE_SNAPDO","id": 70},"softonic": {"name": "softonic","keyword": "search.softonic.com","favicon_url": "http://search.softonic.com/img/favicon.ico","search_url": "http://search.softonic.com/?q={searchTerms}","alternate_urls": ["http://en.softonic.com/s/{searchTerms}","http://www.softonic.com/s/{searchTerms}","http://www.softonic.com.br/s/{searchTerms}","http://buscador.softonic.com/?q={searchTerms}","http://nl.softonic.com/s/{searchTerms}","https://search.softonic.com/?q={searchTerms}","https://en.softonic.com/s/{searchTerms}","https://www.softonic.com/s/{searchTerms}","https://www.softonic.com.br/s/{searchTerms}","https://buscador.softonic.com/?q={searchTerms}","https://nl.softonic.com/s/{searchTerms}"],"type": "SEARCH_ENGINE_SOFTONIC","id": 80},"sweetim": {"name": "SweetIM","keyword": "home.sweetim.com","favicon_url": "http://search.sweetim.com/favicon.ico","search_url": "http://search.sweetim.com/search.asp?q={searchTerms}&ln={language}","type": "SEARCH_ENGINE_SWEETPACKS","id": 65},"sweetpacks": {"name": "Sweetpacks","keyword": "start.sweetpacks.com","favicon_url": "http://start.sweetpacks.com/favicon.ico","search_url": "http://start.sweetpacks.com/search.asp?q={searchTerms}&ln={language}","alternate_urls": ["http://start.sweetpacks.com/?q={searchTerms}","http://mysearch.sweetpacks.com/?q={searchTerms}"],"type": "SEARCH_ENGINE_SWEETPACKS","id": 65},"terra_ar": {"name": "Terra Argentina","keyword": "terra.com.ar","favicon_url": "http://buscar.terra.com.ar/favicon.ico","search_url": "http://buscar.terra.com.ar/Default.aspx?source=Search&ca=s&query={searchTerms}","alternate_urls": ["https://buscador.terra.com.ar/Default.aspx?source=Search&ca=s&query={searchTerms}"],"encoding": "ISO-8859-1","type": "SEARCH_ENGINE_TERRA","id": 90},"terra_es": {"name": "Terra","keyword": "terra.es","favicon_url": "http://buscador.terra.es/favicon.ico","search_url": "http://buscador.terra.es/Default.aspx?source=Search&ca=s&query={searchTerms}","alternate_urls": ["https://buscador.terra.es/Default.aspx?source=Search&ca=s&query={searchTerms}"],"encoding": "ISO-8859-1","type": "SEARCH_ENGINE_TERRA","id": 90},"tut": {"name": "TUT.BY","keyword": "tut.by","favicon_url": "http://search.tut.by/favicon.ico","search_url": "http://search.tut.by/?ru=1&query={searchTerms}","suggest_url": "http://suggest.yandex.ru/suggest-ff.cgi?part={searchTerms}&limit=10","type": "SEARCH_ENGINE_TUT","id": 17},"walla": {"name": "\u05d5\u05d5\u05d0\u05dc\u05d4!","keyword": "walla.co.il","favicon_url": "http://www.walla.co.il/favicon.ico","search_url": "http://search.walla.co.il/?q={searchTerms}","alternate_urls": ["https://search.walla.co.il/?q={searchTerms}"],"type": "SEARCH_ENGINE_WALLA","id": 55},"wp": {"name": "Wirtualna Polska","keyword": "wp.pl","favicon_url": "http://i.wp.pl/a/i/stg/500/favicon.ico","search_url": "http://szukaj.wp.pl/szukaj.html?q={searchTerms}","type": "SEARCH_ENGINE_WP","id": 76},"yahoo_qc": {"name": "Yahoo! Qu\u00e9bec","keyword": "qc.yahoo.com","favicon_url": "https://qc.search.yahoo.com/favicon.ico","search_url": "https://qc.search.yahoo.com/search{google:pathWildcard}?ei={inputEncoding}&fr=crmas&p={searchTerms}","suggest_url": "https://qc.search.yahoo.com/sugg/chrome?output=fxjson&appid=crmas&command={searchTerms}","type": "SEARCH_ENGINE_YAHOO","id": 2},"zoznam": {"name": "Zoznam","keyword": "zoznam.sk","favicon_url": "https://www.zoznam.sk/favicon.ico","search_url": "https://www.zoznam.sk/hladaj.fcgi?s={searchTerms}","alternate_urls": ["http://www.zoznam.sk/hladaj.fcgi?s={searchTerms}"],"encoding": "windows-1250","type": "SEARCH_ENGINE_ZOZNAM","id": 85}},"generate_array": {"array_name": "kAllEngines"}
}

components\search_engines\prepopulated_engines.json 文件里面定义了所有默认搜索引擎数据,初始化也是从此处读取。

2、选项页中初始化的顺序来源是参考

components\search_engines\template_url_prepopulate_data.cc 文件,直接修改此文件代码顺序即可。

摘取中文的初始化

// China
constexpr EngineAndTier engines_CN[] = {{SearchEngineTier::kTopEngines, &baidu},{SearchEngineTier::kTopEngines, &bing},{SearchEngineTier::kTopEngines, &sogou},{SearchEngineTier::kTopEngines, &so_360},{SearchEngineTier::kTopEngines, &google},
};

3、浏览器启动之后存储位置

C:\Users\Administrator\AppData\Local\Chromium\User Data\Default\Web Data  数据库keywords表里面 【%localappdata%/Chromium】

例子:保留 百度和必应为例

1、修改components\search_engines\template_url_prepopulate_data.cc

      

// China
constexpr EngineAndTier engines_CN[] = {{SearchEngineTier::kTopEngines, &baidu},{SearchEngineTier::kTopEngines, &bing},
};

2、在components\search_engines\prepopulated_engines.json中将

"kCurrentDataVersion": 146  版本号+1 145->146

此版本号+1的目的是为了清除旧版本数据库,用新的去覆盖,如果不+1。只能把userdata 里面

Web Data数据库重新删除,浏览器再启动的时候才会初始化成百度和必应搜索引擎。

  

{"int_variables": {// When adding new engines, increment this number and use it as the new// max ID. This is used by UMA stats and must be updated to include the full// range or else not all engines will be counted in stats."kMaxPrepopulatedEngineID": 111,// Increment this if you change the data in ways that mean users with// existing data should get a new version. Otherwise, existing data may// continue to be used and updates made here will not always appear.// Also then run tools/search_engine_choice/generate_search_engine_icons.py."kCurrentDataVersion": 146  版本号+1},

3、ninja -C out/debug chrome 编译看下效果:

已经将列表改成百度和必应搜索引擎,完结。

附修改记录:

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.rhkb.cn/news/442552.html

如若内容造成侵权/违法违规/事实不符,请联系长河编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

【C语言刷力扣】1678.设计Goal解析器

题目: 解题思路: 遍历分析每一个字符,对不同情况分别讨论。 若是字符 G ,则 res 中添加字符 G若是字符 ( ,则再分别讨论。 若下一个字符是 ), 则在 res 末尾添加字符 o若下一个字符…

【CSS in Depth 2 精译_045】7.1 CSS 响应式设计中的移动端优先设计原则(上)

当前内容所在位置(可进入专栏查看其他译好的章节内容) 第一章 层叠、优先级与继承(已完结) 1.1 层叠1.2 继承1.3 特殊值1.4 简写属性1.5 CSS 渐进式增强技术1.6 本章小结 第二章 相对单位(已完结) 2.1 相对…

分布式锁--redission 最佳实践!

我们知道如果我们的项目服务不只是一个实例的时候,单体锁就不再适用,而我们自己去用redis实现分布式锁的话,会有比如锁误删、超时释放、锁的重入、失败重试、Redis主从一致性等等一系列的问题需要自己解决。 当然,上述问题并非无…

刷题 二叉树

二叉树的核心思想 - 递归 - 将问题分解为子问题 题型 递归遍历迭代遍历层序遍历 bfs:队列各种递归题目:将问题分解为子问题二叉搜索树 - 中序遍历是递增序列 TreeNode* &prev 指针树形dp 面试经典 150 题 - 二叉树 104. 二叉树的最大深度 广度优…

DDD简介

概述 传统的数据驱动开发模式,View、Service、Dao这种三层分层模式,会很自然的写出过程式代码,这种开发方式中的对象只是数据载体,而没有行为,是一种贫血对象模型。以数据为中心,以数据库ER图为设计驱动&a…

JavaSE - 基础语法

01 背景知识补充 ① Java统治了后台服务器的开发,比如京东,淘宝网站的后台服务器就是使用的Java进行开发的 ② Java之父:詹姆斯高斯林 ③ Java由sun公司研发,现在属于Oracle公司 02 注释 ① Java的注释有三种:单行…

快速启动工具 | Biniware Run v7.1.0.0 绿色中文版

Biniware Run是一款便携式的Windows生产力工具,旨在为用户提供快速访问其喜爱的网站地址、文件和文件夹的便捷方式。这款软件的特点在于其易用性和高度可定制性。用户可以通过简单的拖放操作,将网址、文件或文件夹添加到软件中,从而快速访问。…

网络层协议 --- IP

序言 在这篇文章中我们将介绍 IP协议,经过这篇文章的学习,我们就会了解运营商到底是如何为我们提供服务的以及平时我们所说的内网,公网到底又是什么,区别是什么? IP 地址的基本概念 1. IP 地址的定义 每一个设备接入…

【进阶OpenCV】 (4)--图像拼接

文章目录 图像拼接1. 读取图片2. 计算图片特征点及描述符3. 建立暴力匹配器4. 特征匹配5. 透视变换6. 图像拼接 总结 图像拼接 图像拼接是一项将多张有重叠部分的图像(这些图像可能是不同时间、不同视角或者不同传感器获得的)拼成一幅无缝的全景图或高分…

AI学习记录 - L2正则化详细解释(权重衰减)

大白话: 在反向传播时,加入额外的损失值,让总损失值变得比原来更大,并且加入的损失值要关联到神经网络全部权重的大小,当出现权重的平方变大的时候,也就是网络权重往更加负或者更加正的方向走的时候&#…

【答疑解惑】图文深入详解undo和redo的区别及其底层逻辑

题记:最近有些人问我,undo和redo到底是什么关系,他们中不乏已经入行3-4年的同学,今天咱们就来深入探讨下到底什么是undo和redo,他们分别做什么,底层逻辑原理是什么等等。 1. undo 1.1 undo的存储结构 Un…

叶国富“推翻”马云新零售,零售新王此刻登基?

63亿入主永辉超市,拿到29.4%股份,坐上永辉超市第一大股东的宝座,名创优品创始人叶国富,成为了新科“零售之王”。 很是霸气外漏。 有投资者表示费解,不明白为何此时入局超市行业,叶国富当即召开电话会议&…

Selenium自动化测试的显示等待

在进行UI自动化测试的时候,我们为了保持用例的稳定性,往往要设置显示等待,显示等待就是说明确的要等到某个元素的出现或者元素的某些条件出现,比如可点击、可见等条件,如果在规定的时间之内都没有找到,那么…

我们如何构建 ClickHouse 内部的数据仓库:一年回顾的思考 【Part2】

本文字数:4105;估计阅读时间:11 分钟 作者:Mihir Gokhale 本文在公众号【ClickHouseInc】首发 一年前,我的同事 Dmitry Pavlov 介绍了我们如何在 ClickHouse Cloud 上构建了公司内部的数据仓库,简称 “DWH”…

外贸财务管理必备,6款热门软件优势对比

外贸企业的财务管理面临着多币种结算、汇率波动、跨境支付等复杂问题。本文将盘点Zoho Books、KashFlow、Sage Intacct等六款热门的外贸财务软件,并探讨它们各自的优势与特点,以帮助外贸企业做出明智的选择。 一、Zoho Books Zoho Books是一款面向中小企…

RNN(循环神经网络)简介及应用

一、引言 在深度学习领域,神经网络被广泛应用于各种任务,从图像识别到语音合成。但对于序列数据处理的任务,如自然语言处理(NLP)、语音识别或时间序列预测等,传统的前馈神经网络(Feedforward N…

docker compose入门5—创建一个3副本的应用

1. 定义服务 version: 3.8 services:web:image: gindemo:v2deploy:replicas: 3ports:- "9090" 2. 启动服务 docker compose -f docker-compose.yml up -d 3. 查看服务 docker compose ps 4. 访问服务

如何使用jmeter进行压测

简介: 1.概述 一款工具,功能往往是很多的,细枝末节的地方也很多,实际的测试工作中,绝大多数场景会用到的也就是一些核心功能,根本不需要我们事无巨细的去掌握工具的所有功能。所以本文将用带价最小的方式讲…

相亲交友系统源码开发:构建高效互动平台的技术探索

在数字化时代,相亲交友系统已成为人们寻找伴侣、拓展社交圈的重要方式之一。这类平台不仅促进了人与人之间的连接,还通过算法匹配、兴趣筛选等功能,提高了用户找到合适伴侣的效率。本文将从技术角度出发,探讨相亲交友系统源码开发…

[paddle]paddleseg快速开始

快速开始 为了让大家快速了解PaddleSeg,本文档使用一个简单示例进行演示。在实际业务中,建议大家根据实际情况进行调整适配。 在开始下面示例之前,请大家确保已经安装好PaddleSeg开发环境(安装说明)。 1 准备数据 …