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.mzph.cn/diannao/55688.shtml

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

相关文章

CSS圆角

在制作网页的过程中,有时我们可能需要实现圆角的效果,以前的做法是通过切图(将设计稿切成便于制作成页面的图片),使用多个背景图像来实现圆角。在 CSS3 出现之后就不需要这么麻烦了,CSS3 中提供了一系列属性…

【C++】map详解

📢博客主页:https://blog.csdn.net/2301_779549673 📢欢迎点赞 👍 收藏 ⭐留言 📝 如有错误敬请指正! 📢本文由 JohnKi 原创,首发于 CSDN🙉 📢未来很长&#…

python爬虫 - 进阶requests模块

🌈个人主页:https://blog.csdn.net/2401_86688088?typeblog 🔥 系列专栏:https://blog.csdn.net/2401_86688088/category_12797772.html 目录 前言 一、SSL证书问题 (一)跳过 SSL 证书验证 &#xff0…

Linux驱动学习——内核编译

1、从官网下载适合板子的Linux内核版本 选择什么版本的内核需要根据所使用的硬件平台而定,最好使用硬件厂商推荐使用的版本 https://www.kernel.org/pub/linux/kernel/ 2、将压缩包复制到Ubuntu内进行解压 sudo tar -xvf linux-2.6.32.2-mini2440-20150709.tgz 然…

Python开发环境配置(mac M2)

1. 前言 作为一名程序员,工作中需要使用Python进行编程,甚至因为项目需要还得是不同版本的Python如何手动管理多个版本的Python,如何给Pycharm(IDE)配置对应的interpreter等,都成为一个 “不熟练工” 的难…

计算机网络:物理层 —— 信道复用技术

文章目录 信道信道复用技术信道复用技术的作用基本原理常用的信道复用技术频分复用 FDM时分复用 TDM波分复用 WDM码分复用 CDM码片向量基本原理 信道 信道是指信息传输的通道或介质。在通信中,信道扮演着传输信息的媒介的角色,将发送方发送的信号传递给…

『网络游戏』窗口基类【06】

创建脚本:WindowRoot.cs 编写脚本: 修改脚本:LoginWnd.cs 修改脚本:LoadingWnd.cs 修改脚本:ResSvc.cs 修改脚本:LoginSys.cs 运行项目 - 功能不变 本章结束

图片压缩王2.1.5 | 高效图片处理,无广告无登录

图片压缩王是一款专为安卓用户设计的高效图片处理工具。支持批量压缩、格式转换、缩放和裁剪等功能,无广告无登录,让你专注图片处理。 大小:25M 百度网盘:https://pan.baidu.com/s/1cfNJmy6-KeNtlMJRknMZOA?pwdolxt 夸克网盘&am…

阻抗计算公式

阻抗(Z)是用于描述电路中对交流电源的阻碍程度的物理量,其计算公式因电路中的不同元件而有所差异。以下是一些常见的阻抗计算公式: 电阻元件的阻抗: 对于纯电阻元件,其阻抗等于电阻值(R&#xf…

LabVIEW裂纹深度在线监测系统

随着铁路运输技术的快速发展,火车安全问题成为重中之重,尤其是轮面裂纹的检测和管理。裂纹的出现可能导致严重的列车事故,因此,建立可靠的在线监测系统,实时掌握裂纹情况,对保障铁路运输安全至关重要。 La…

[Python学习日记-39] 闭包是个什么东西?

[Python学习日记-39] 闭包是个什么东西? 简介 闭包现象 闭包意义与作用 简介 在前面讲函数和作用域的时候应该提到过,当函数运行结束后会由 Python 解释器自带的垃圾回收机制回收函数内作用域已经废弃掉的变量,但是在 Python 当中还有一种…

mysql学习教程,从入门到精通,SQL 临时表(37)

1、SQL 临时表 在SQL中,临时表(Temporary Table)是一种在会话或连接期间临时存储数据的表。它们对于存储中间结果、简化复杂查询以及提高性能非常有用。以下是一个创建和使用临时表的示例。 假设我们有一个名为 employees 的表,…

【保姆级教程】UMLS工具——MetaMap安装及使用

专家词典 https://lhncbc.nlm.nih.gov/LSG/Projects/lexicon/current/web/index.html SPECIALIST 词典是一个大型的生物医学和通用英语句法词典,旨在提供 SPECIALIST 自然语言处理系统 (NLP) 所需的词汇信息,其中包括 MetaMap 和词汇工具等。它旨在成为…

【微服务】网关 - Gateway(下)(day8)

网关过滤工厂 在上一篇文章中,主要是对网关进行了一个总体的介绍,然后对网关中的断言进行了一个描述。在这篇文章中,主要是对网关中的最后一大核心——过滤进行介绍。 当客户端发送过来的请求经过断言之后,如果还想在请求前后添…

SQl注入文件上传及sqli-labs第七关less-7

Sql注入文件上传 1、sql知识基础 secure_file_priv 参数 secure_file_priv 为 NULL 时,表示限制mysqld不允许导入或导出。 secure_file_priv 为 /tmp 时,表示限制mysqld只能在/tmp目录中执行导入导出,其他目录不能导出导入。 secure_fil…

opencv学习:利用帧差法实现对视频移动物体的识别、帧差法的优缺点及完整代码实现

基本概念 帧差法是视频处理和计算机视觉领域中用于移动检测的一种简单而有效的方法。它主要依赖于连续视频帧之间的像素差异来识别场景中的移动对象。 帧差法: 定义:帧差法通过比较连续的视频帧之间的差异来检测移动对象。基本思想是移动对象会在连续的…

【Android 源码分析】Activity生命周期之onDestroy

忽然有一天,我想要做一件事:去代码中去验证那些曾经被“灌输”的理论。                                                                                  – 服装…

五十、架构设计经验与技巧(架构设计基本原则)

架构设计的基本原则是指导架构师在设计和实施系统时的重要参考。这些原则不仅影响系统的质量、可维护性和可扩展性,也直接影响到项目的成功与否。以下是几大基本原则及其在实践中的应用: 1. 可扩展性(Scalability) 定义:系统在负载增加时,能够通过增加资源(如服务器、…

信息学奥赛使用的编程IDE:Dev-C++ 安装指南

信息学奥赛(NOI)作为全国性的编程竞赛,要求参赛学生具备扎实的编程能力,而熟练使用适合的编程工具则是学习与竞赛的基础。在众多编程环境中,Dev-C IDE 因其简洁、轻量、支持C编程等特点,成为许多参赛者的常…

Android阶段学习思维导图

前言 记录下自己做的一个对Android原生应用层的思维导图,方便个人记忆扩展;这里只露出二级标题。 后语 虽然有些内容只是初步了解,但还是记录了下来;算是对过去一段学习的告别。