Skip to content

This is a lightweight Microsoft Edge configuration for macOS (PayloadType: com.microsoft.Edge). It disables promos/recommendations, tightens privacy defaults, tones down New Tab experiences and the Sidebar, while keeping essential security and usability.

Notifications You must be signed in to change notification settings

ChiamZhang/tiny-edge-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

README(中文)

项目简介

这是一份用于 macOS 的 Microsoft Edge 轻量化配置文件(PayloadType: com.microsoft.Edge),目标是减少广告/推荐、限制个性化上报、弱化新标签页和侧边栏等噪声功能,保留必要的隐私与安全选项,适合作为“精简默认配置”。

适用平台

  • macOS(通过 MDM、Intune、Jamf 或本地配置描述文件部署)。微软官方说明见:如何用 .plist 配置 Edge(含 Intune 部署示例)。(Microsoft Learn)

快速使用与安装

  1. 将本仓库中的 .mobileconfig(或 .plist)导入到你的设备管理平台(如 Intune 自定义首选项、Jamf 自定义配置)。

    • Intune 参考:Add preference file settings to macOS。(Microsoft Learn)
    • Jamf 参考:Configure Edge on Mac with Jamf。(Reddit)
  2. 本地测试(可选):

    • 双击 .mobileconfig 用“系统设置 > 隐私与安全 > 描述文件”安装;
    • 或使用 profiles 命令行安装卸载。
  3. 重启 Edge(或终端执行 killall Microsoft\ Edge)并检查 edge://policy/ 生效情况。

已配置键(逐项说明)

这些键位于 PayloadContentdict (PayloadType = com.microsoft.Edge) 里。

Key 类型/示例 作用说明 参考
AddressBarMicrosoftSearchInBingProviderEnabled false 关闭地址栏中的 Microsoft Search in Bing 组织内搜索建议。注意:此策略已在 Edge 136 之后标记为过时/失效,新版本可能忽略。 (Microsoft Learn)
BingAdsSuppression true Bing.com 提供无广告搜索体验(同时会强制 SafeSearch = Strict)。 (Microsoft Learn)
ConfigureDoNotTrack true 始终向网站发送 Do Not Track 请求。 (Microsoft Learn)
DiagnosticData 0 诊断数据:0=仅必要数据(Required),关闭可选数据上报。 (Microsoft Learn)
HideFirstRunExperience true 首次运行体验/FRE 向导与启动页不显示。 (Microsoft Learn)
HubsSidebarEnabled false 关闭右侧侧边栏(也就屏蔽侧边栏应用)。 (Microsoft Learn)
NewTabPageAllowedBackgroundTypes 3 新标签页背景类型:1=禁用每日图;2=禁用自定义图;3=禁用全部背景。你这里选的是 3 (Microsoft Learn)
NewTabPageAppLauncherEnabled false 隐藏新标签页的 Microsoft 365 App Launcher。 (Microsoft Learn)
NewTabPageContentEnabled false 关闭新标签页信息流/内容(优先级高于 M365 门户里的企业新标签页设置)。 (Microsoft Learn)
NewTabPageHideDefaultTopSites true 隐藏新标签页默认置顶网站。 (Microsoft Learn)
OmniboxMSBProviderEnabled false 关闭地址栏里的 Microsoft Search for Business 提供方(历史策略项,仍可用于老版本/特定渠道)。 (Onevinn)
PersonalizationReportingEnabled false 禁止将浏览历史、收藏、集合等用于个性化推荐(广告/搜索/新闻/Edge 等)。 (Microsoft Learn)
PromotionalTabsEnabled false 禁止展示欢迎页/促销或教育性整页内容(如登录提示、默认浏览器推荐等)。 (Microsoft Learn)
SendSiteInfoToImproveServices false 禁止把访问站点信息发给微软用于改进服务。已被新策略取代(macOS 由 DiagnosticData 管控);保留此项用于向后兼容。 (Microsoft Learn)
ShowMicrosoftRewards false 隐藏 Microsoft Rewards 体验与相关提示。 (Microsoft Learn)
ShowOfficeShortcutInFavoritesBar false 不在收藏栏显示 Office.com 快捷方式(注:此策略在部分版本标记为“已弃用/Deprecated”)。 (Microsoft Learn)
ShowRecommendationsEnabled false 关闭 Edge 的功能推荐/辅助通知(气泡、Flyout、教练标等)。 (Microsoft Learn)
TrackingPrevention 2 跟踪防护级别:0关闭;1基础;2平衡(推荐)3严格。你这里设为 2 (Microsoft Learn)
UserFeedbackAllowed false 禁止“发送反馈”能力。 (Microsoft Learn)
StartupBoostEnabled false 关闭“启动加速”(多平台支持差异,Windows 更常见;保留显式关闭)。 (Microsoft Learn)
BackgroundModeEnabled false 关闭后台常驻(最后一个窗口关闭后不在后台保活)。 (Microsoft Learn)
PasswordManagerEnabled true 允许内置密码管理器保存/填充密码。 (Microsoft Learn)
EdgeShoppingAssistantEnabled false 关闭购物助手(比价/优惠券/返利等)。 (Microsoft Learn)
BrowserGuestModeEnabled false 禁用访客模式(防止无痕访客配置)。 (Microsoft Learn)

兼容性提示:策略支持与行为会随 Edge 版本调整(例如:AddressBarMicrosoftSearchInBingProviderEnabled 已宣布失效)。建议部署前在目标版本上用少量设备 A/B 验证。官方“所有策略”索引页:(Microsoft Learn)

还能加的轻量化选项(可选)

下面这些同样非常常用,且与“降噪/隐私优先”理念一致。

  • 扩展白/黑名单ExtensionInstallAllowlist / ExtensionInstallBlocklist / ExtensionSettings(精细到权限 JSON)。(Microsoft Learn)
  • 跟踪防护例外AllowTrackingForUrls(为特定内网或可信业务域名放宽拦截)。(Microsoft Learn)
  • 本地网络访问许可LocalNetworkAccessAllowedForUrls(Chromium 142 起限制本地网络访问时,用于预授权内网域名/设备,避免提示)。(Microsoft 365 Message Center)
  • 企业/教育场景模板:微软的教育常用配置清单,可按需挑选(比如固定下载目录、默认 PDF 处理等)。(Microsoft Learn)

如何把这些键加入你的文件

  1. 在现有的 PayloadContentEdgedict 内,新增对应的 keytrue/false/integer/string 值。
  2. 若为 JSON 类型(如 ExtensionSettings),以 字符串 形式放入(保持合法 JSON)。
  3. 保存并重新部署,打开 edge://policy 检查是否 LoadedOK
  4. Intune/Jamf 场景下,确保内容被下发到 com.microsoft.Edge受管首选项域。(Microsoft Learn)

README (English)

Overview

This is a lightweight Microsoft Edge configuration for macOS (PayloadType: com.microsoft.Edge). It disables promos/recommendations, tightens privacy defaults, tones down New Tab experiences and the Sidebar, while keeping essential security and usability.

Platform

  • macOS via MDM/Intune/Jamf or local profile install. See Microsoft’s guide: Configure Edge on macOS using a .plist. (Microsoft Learn)

Quick Start

  1. Import the .mobileconfig (or .plist) into your MDM.

    • Intune how-to: Add preference file settings to macOS. (Microsoft Learn)
    • Jamf how-to: Configure Edge on Mac with Jamf. (Reddit)
  2. For local testing: double-click the profile to install; or use the profiles CLI.

  3. Restart Edge and verify at edge://policy.

Keys you already set (explained)

(See the Chinese table above for the full mapping; below are the headlines with references.)

  • AddressBarMicrosoftSearchInBingProviderEnabled = false — turns off Microsoft Search in Bing in the address bar. Obsolete after Edge 136. (Microsoft Learn)
  • BingAdsSuppression = true — ad-free Bing (forces SafeSearch = Strict). (Microsoft Learn)
  • ConfigureDoNotTrack = true — always send DNT. (Microsoft Learn)
  • DiagnosticData = 0 — required-only telemetry on macOS. (Microsoft Learn)
  • HideFirstRunExperience = true — hide first-run/splash. (Microsoft Learn)
  • HubsSidebarEnabled = false — disable the Sidebar (also PWAs). (Microsoft Learn)
  • NewTabPageAllowedBackgroundTypes = 3 — disable all NTP backgrounds. (Microsoft Learn)
  • NewTabPageAppLauncherEnabled = false — remove M365 app launcher. (Microsoft Learn)
  • NewTabPageContentEnabled = false — disable NTP feed/content (overrides M365 portal NTP for Entra profiles). (Microsoft Learn)
  • NewTabPageHideDefaultTopSites = true — hide default top sites. (Microsoft Learn)
  • OmniboxMSBProviderEnabled = false — turn off MS Search for Business provider (legacy). (Onevinn)
  • PersonalizationReportingEnabled = false — block personalizing data collection. (Microsoft Learn)
  • PromotionalTabsEnabled = false — block welcome/educational promos. (Microsoft Learn)
  • SendSiteInfoToImproveServices = false — block site-info upload (deprecated, replaced by DiagnosticData on macOS). (Microsoft Learn)
  • ShowMicrosoftRewards = false — hide Rewards experiences. (Microsoft Learn)
  • ShowOfficeShortcutInFavoritesBar = false — remove Office.com favorite (may be deprecated in some builds). (Microsoft Learn)
  • ShowRecommendationsEnabled = false — disable in-product feature recommendations and assistance. (Microsoft Learn)
  • TrackingPrevention = 2 — Balanced (0=Off, 1=Basic, 2=Balanced, 3=Strict). (Microsoft Learn)
  • UserFeedbackAllowed = false — block sending feedback. (Microsoft Learn)
  • StartupBoostEnabled = false — disable Startup Boost (primarily a Windows feature; explicitly off here). (Microsoft Learn)
  • BackgroundModeEnabled = false — don’t keep Edge running after last window closes. (Microsoft Learn)
  • PasswordManagerEnabled = true — allow saving/filling passwords. (Microsoft Learn)
  • EdgeShoppingAssistantEnabled = false — disable shopping assistant. (Microsoft Learn)
  • BrowserGuestModeEnabled = false — block Guest mode. (Microsoft Learn)

Always test on your target Edge version; policy support changes over time. The official policy index is here. (Microsoft Learn)

Nice-to-have (optional) extras

  • Extension allow/block and fine-grained ExtensionSettings. (Microsoft Learn)
  • Tracking prevention exceptions with AllowTrackingForUrls. (Microsoft Learn)
  • Pre-authorize local network access with LocalNetworkAccessAllowedForUrls to avoid prompts in Chromium 142+. (Microsoft 365 Message Center)
  • Education/enterprise templates to cherry-pick sensible defaults. (Microsoft Learn)

How to add these keys

Add the new key (Boolean/Integer/String) to the same com.microsoft.Edge dictionary in PayloadContent. For JSON-style values (like ExtensionSettings), embed as a string containing valid JSON. Re-deploy and verify in edge://policy.


小贴士 / Tips

  • 新版本 Edge 会弃用或重命名部分策略(如 AddressBarMicrosoftSearchInBingProviderEnabled)。部署前用小范围设备验证非常关键。(Microsoft Learn)
  • 如果你强管 DiagnosticData=0,通常无需再配置 SendSiteInfoToImproveServices(它已被标记替代/不再支持)。(Microsoft Learn)

About

This is a lightweight Microsoft Edge configuration for macOS (PayloadType: com.microsoft.Edge). It disables promos/recommendations, tightens privacy defaults, tones down New Tab experiences and the Sidebar, while keeping essential security and usability.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published