ManagedSearchEngines

管理搜尋引擎

支援版本

  • 視窗:≥ 77
  • macOS:≥ 77
  • Android:不支援
  • iOS:不支援

描述

讓您設定最多 10 個搜尋引擎的清單,其中一個必須標示為預設搜尋引擎。 使用 Microsoft Edge 100 版本,你可以配置最多 100 個引擎。

你不需要特別指定編碼方式。 在 Edge 80 版本Microsoft,suggest_url 和 image_search_url 參數是可選的。 可選參數image_search_post_params (由逗號分隔的名稱/值對組成,) Microsoft Edge 80 版本開始提供。

在 Microsoft Edge 83 版本中,你可以用可選的 allow_search_engine_discovery 參數啟用搜尋引擎發現。 此參數必須是清單中的第一個項目。 若未指定allow_search_engine_discovery,搜尋引擎發現預設會被關閉。 在 Microsoft Edge 84 版本中,你可以將此政策設為推薦政策,以允許搜尋提供者的發現。 您不需要新增 allow_search_engine_discovery 選用參數。 在 Microsoft Edge 100 版本中,將此政策設為推薦政策,也允許使用者從 Microsoft Edge 設定中手動新增搜尋引擎。

如果啟用此原則,則使用者無法新增、移除或變更清單中的任何搜尋引擎。 使用者可以將其預設搜尋引擎設定為清單中的任何搜尋引擎。

如果停用或未設定此原則,則使用者可以視需要修改搜尋引擎清單。

如果已設定 DefaultSearchProviderSearchURL 原則,則會忽略此原則 (ManagedSearchEngines)。 使用者必須將其瀏覽器重新啟動,才能完成套用此原則。

支援功能

  • 可強制執行:是
  • 可以建議:是
  • 動態原則重新整理:否 - 需要重新啟動瀏覽器
  • 根據個人資料:是的
  • 適用於以 Microsoft 帳號登入的個人檔案:不

資料類型

  • Dictionary

Windows 資訊和設定

群組原則 (ADMX) 資訊

  • GP 唯一名稱:ManagedSearchEngines
  • GP 名稱:管理搜尋引擎
  • GP 路徑 (強制) :管理範本/Microsoft Edge
  • GP 路徑 (推薦) :管理範本/Microsoft Edge - 預設設定 (使用者可覆寫)
  • GP ADMX 檔案名稱:MSEdge.admx

範例值

[{"allow_search_engine_discovery": true}, {"is_default": true, "keyword": "example1.com", "name": "Example1", "search_url": "https://www.example1.com/search?q={searchTerms}", "suggest_url": "https://www.example1.com/qbox?query={searchTerms}"}, {"image_search_post_params": "content={imageThumbnail},url={imageURL},sbisrc={SearchSource}", "image_search_url": "https://www.example2.com/images/detail/search?iss=sbiupload", "keyword": "example2.com", "name": "Example2", "search_url": "https://www.example2.com/search?q={searchTerms}", "suggest_url": "https://www.example2.com/qbox?query={searchTerms}"}, {"encoding": "UTF-8", "image_search_url": "https://www.example3.com/images/detail/search?iss=sbiupload", "keyword": "example3.com", "name": "Example3", "search_url": "https://www.example3.com/search?q={searchTerms}", "suggest_url": "https://www.example3.com/qbox?query={searchTerms}"}, {"keyword": "example4.com", "name": "Example4", "search_url": "https://www.example4.com/search?q={searchTerms}"}]

登錄設定

  • 路徑 (強制):SOFTWARE\Policies\Microsoft\Edge
  • 路徑 (建議):SOFTWARE\Policies\Microsoft\Edge\Recommended
  • 價值名稱:ManagedSearchEngines
  • 價值類型:REG_SZ

註冊表值範例

[{"allow_search_engine_discovery": true}, {"is_default": true, "keyword": "example1.com", "name": "Example1", "search_url": "https://www.example1.com/search?q={searchTerms}", "suggest_url": "https://www.example1.com/qbox?query={searchTerms}"}, {"image_search_post_params": "content={imageThumbnail},url={imageURL},sbisrc={SearchSource}", "image_search_url": "https://www.example2.com/images/detail/search?iss=sbiupload", "keyword": "example2.com", "name": "Example2", "search_url": "https://www.example2.com/search?q={searchTerms}", "suggest_url": "https://www.example2.com/qbox?query={searchTerms}"}, {"encoding": "UTF-8", "image_search_url": "https://www.example3.com/images/detail/search?iss=sbiupload", "keyword": "example3.com", "name": "Example3", "search_url": "https://www.example3.com/search?q={searchTerms}", "suggest_url": "https://www.example3.com/qbox?query={searchTerms}"}, {"keyword": "example4.com", "name": "Example4", "search_url": "https://www.example4.com/search?q={searchTerms}"}]

擴充範例登錄檔值

[
  {
    "allow_search_engine_discovery": true
  },
  {
    "is_default": true,
    "keyword": "example1.com",
    "name": "Example1",
    "search_url": "https://www.example1.com/search?q={searchTerms}",
    "suggest_url": "https://www.example1.com/qbox?query={searchTerms}"
  },
  {
    "image_search_post_params": "content={imageThumbnail},url={imageURL},sbisrc={SearchSource}",
    "image_search_url": "https://www.example2.com/images/detail/search?iss=sbiupload",
    "keyword": "example2.com",
    "name": "Example2",
    "search_url": "https://www.example2.com/search?q={searchTerms}",
    "suggest_url": "https://www.example2.com/qbox?query={searchTerms}"
  },
  {
    "encoding": "UTF-8",
    "image_search_url": "https://www.example3.com/images/detail/search?iss=sbiupload",
    "keyword": "example3.com",
    "name": "Example3",
    "search_url": "https://www.example3.com/search?q={searchTerms}",
    "suggest_url": "https://www.example3.com/qbox?query={searchTerms}"
  },
  {
    "keyword": "example4.com",
    "name": "Example4",
    "search_url": "https://www.example4.com/search?q={searchTerms}"
  }
]

Mac 資訊和設定

  • 偏好鍵名稱:ManagedSearchEngines
  • 範例值:
<key>ManagedSearchEngines</key>
<array>
  <dict>
    <key>allow_search_engine_discovery</key>
    <true/>
  </dict>
  <dict>
    <key>is_default</key>
    <true/>
    <key>keyword</key>
    <string>example1.com</string>
    <key>name</key>
    <string>Example1</string>
    <key>search_url</key>
    <string>https://www.example1.com/search?q={searchTerms}</string>
    <key>suggest_url</key>
    <string>https://www.example1.com/qbox?query={searchTerms}</string>
  </dict>
  <dict>
    <key>image_search_post_params</key>
    <string>content={imageThumbnail},url={imageURL},sbisrc={SearchSource}</string>
    <key>image_search_url</key>
    <string>https://www.example2.com/images/detail/search?iss=sbiupload</string>
    <key>keyword</key>
    <string>example2.com</string>
    <key>name</key>
    <string>Example2</string>
    <key>search_url</key>
    <string>https://www.example2.com/search?q={searchTerms}</string>
    <key>suggest_url</key>
    <string>https://www.example2.com/qbox?query={searchTerms}</string>
  </dict>
  <dict>
    <key>encoding</key>
    <string>UTF-8</string>
    <key>image_search_url</key>
    <string>https://www.example3.com/images/detail/search?iss=sbiupload</string>
    <key>keyword</key>
    <string>example3.com</string>
    <key>name</key>
    <string>Example3</string>
    <key>search_url</key>
    <string>https://www.example3.com/search?q={searchTerms}</string>
    <key>suggest_url</key>
    <string>https://www.example3.com/qbox?query={searchTerms}</string>
  </dict>
  <dict>
    <key>keyword</key>
    <string>example4.com</string>
    <key>name</key>
    <string>Example4</string>
    <key>search_url</key>
    <string>https://www.example4.com/search?q={searchTerms}</string>
  </dict>
</array>

請參閱