瀏覽器每次打開都有個煩人的提示要獲取將來的 microsoft edge 更新,需要 macos 10.15 或更高版本,找了很久也沒有解決辦法,有 windows 端的解決方案,有禁止更新的解決方案,就是沒有 Mac 上如何避免這個告警的方案,於是走上 Edge 定製化之旅。 效果 使用前後對比 ...
瀏覽器每次打開都有個煩人的提示
要獲取將來的 microsoft edge 更新,需要 macos 10.15 或更高版本
,找了很久也沒有解決辦法,有 windows 端的解決方案,有禁止更新的解決方案,就是沒有 Mac 上如何避免這個告警的方案,於是走上 Edge 定製化之旅。
效果
使用前後對比
省流
直接下載下麵的 com.microsoft.Edge.customized.mobileconfig
文件,安裝後重啟 Edge 即可。
鏈接: https://pan.baidu.com/s/15ojiAdmDjzVczj_Whqk09Q 提取碼: bh6d
安裝流程: 右鍵文件 -> 打開
,或者 雙擊文件
選擇 繼續
選擇 安裝
安裝完成後,重啟瀏覽器即可。
功能
此配置文件的主要功能:禁用更新,禁用告警,關閉診斷,優化新標簽頁 等。所有的配置項,可在安裝完此配置後,在 Edge 瀏覽器地址欄輸入 about://policy
後打開查看。點擊策略名稱,會跳轉到相應地址,描述此策略。
如果你想修改此配置中的任意選項或者新增選項,可以打開此地址 admx.help,找到對應配置項(以啟用新標簽頁的預載入以提高呈現速度
為例)後點擊打開:
找到 Value Name
和 Value
對應的值
然後用 文本編輯器
或其他編輯器打開此配置文件,新增的話,就在 <key>PayloadContent</key> <array> <dict>
這層標簽內容新增 key 標簽
,標簽內容對應在上圖中找到的 Value Name
值,然後新增一行 <true/>
或者 <false/>
。true 對應 Value==1
,false 對應 Value==0
。
如果有多個 Value
值,就不能用 true
或者 false
標簽了,而是用 <integer>xxx</integer>
,xxx 的內容對應其 Value
值。
修改的話,就直接搜索此配置項的名稱,然後直接修改值即可,修改值的方式同上。
修改後保存,重啟安裝即可生效。
刪除
進入 mac系統偏好設置
-> 描述文件
,然後 -
掉此配置即可。
說明
官方說明
Edge 官方說明 在 macOS 上配置 Microsoft Edge 策略。
按照官方說法,是先創建 plist
,在 plist
文件里集成 Edge 的策略配置,然後使用首選的 MDM
提供程式,將 plist
部署到用戶的 Mac 設備,過程複雜且麻煩。
第三方工具
Mac 用戶社區維護了一個 ProfileManifests 項目,旨在為管理員提供一個通用框架,使其能夠輕鬆配置和管理 Apple 產品和支持的第三方軟體中的任何可用設置。在此基礎上,產生了 ProfileCreator 和 iMazing Profile Editor 等第三方配置文件製作工具。藉助三方工具,使得我們能夠更高效的配置 Edge 的策略。以 iMazing Profile Editor
為例:
安裝 iMazing Profile Editor
後打開,先在 General
里填入必填項
然後在左側列表,找到 Edge 後點擊,在右側面板里選擇 + Add Configuration Payload
然後,就會出現 Edge 的各種配置項,選擇你想要編輯的配置項即可。
編輯好後,保存,就會生成尾碼為 .mobileconfig
的可安裝文件。最後安裝此文件即可。
其他軟體
此方法也適用於 chrome
瀏覽器,只不過你要去尋找 chrome 的相關策略,另外在使用工具 iMazing Profile Editor
時,name 就是 com.google.Keystone
,相關網址 管理 Chrome 更新 (Mac)。值得讓人驚喜的是,去除 chrome 更新和禁止警告的配置,我也放在開頭的網盤裡了,下載安裝即可。
當然以上工具和配置方法也適用於其他第三方軟體。
windows 平臺
windows 平臺直接去修改註冊表就好了,百度搜索很多的。
配置源碼
最後,附上我的配置文件源碼:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadDisplayName</key>
<string>Microsoft Edge</string>
<key>PayloadIdentifier</key>
<string>com.microsoft.Edge.13D4EE1D-74BF-4963-AE69-88E61F9FD9EA</string>
<key>PayloadType</key>
<string>com.microsoft.Edge</string>
<key>PayloadUUID</key>
<string>AB70BBA2-D881-4C1A-8E36-9EE591429F3E</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>AddressBarMicrosoftSearchInBingProviderEnabled</key>
<false/>
<key>AutofillCreditCardEnabled</key>
<false/>
<key>AutoplayAllowed</key>
<false/>
<key>BingAdsSuppression</key>
<true/>
<key>BuiltInDnsClientEnabled</key>
<false/>
<key>ComponentUpdatesEnabled</key>
<false/>
<key>SuppressUnsupportedOSWarning</key>
<true/>
<key>InstallDefault</key>
<false/>
<key>UpdateDefault</key>
<false/>
<key>AutoUpdateCheckPeriodMinutes</key>
<integer>43200</integer>
<key>UpdatesSuppressedStartHour</key>
<integer>9</integer>
<key>UpdatesSuppressedStartMin</key>
<integer>0</integer>
<key>UpdatesSuppressedDurationMin</key>
<integer>960</integer>
<key>ConfigureDoNotTrack</key>
<true/>
<key>ConfigureShare</key>
<integer>1</integer>
<key>DefaultBrowserSettingEnabled</key>
<false/>
<key>DiagnosticData</key>
<integer>0</integer>
<key>HideFirstRunExperience</key>
<true/>
<key>HubsSidebarEnabled</key>
<false/>
<key>NewTabPageAllowedBackgroundTypes</key>
<integer>3</integer>
<key>NewTabPageAppLauncherEnabled</key>
<false/>
<key>NewTabPageContentEnabled</key>
<false/>
<key>NewTabPageHideDefaultTopSites</key>
<true/>
<key>OmniboxMSBProviderEnabled</key>
<false/>
<key>PasswordManagerEnabled</key>
<false/>
<key>PaymentMethodQueryEnabled</key>
<false/>
<key>PersonalizationReportingEnabled</key>
<false/>
<key>PromotionalTabsEnabled</key>
<false/>
<key>SendSiteInfoToImproveServices</key>
<false/>
<key>ShowMicrosoftRewards</key>
<false/>
<key>ShowOfficeShortcutInFavoritesBar</key>
<false/>
<key>ShowRecommendationsEnabled</key>
<false/>
<key>TrackingPrevention</key>
<integer>2</integer>
<key>UserFeedbackAllowed</key>
<false/>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>com.microsoft.Edge</string>
<key>PayloadIdentifier</key>
<string>com.example.edge</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>6BAC9A8B-19F3-4876-99D9-BCA6C8B30238</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
相關文檔和資源
使用屬性列表為 macOS 配置 Microsoft Edge 策略設置
Microsoft Edge - 策略
Microsoft Edge - 更新策略
Microsoft Edge - Update policies
Group Policy Administrative Templates Catalog - Microsoft Edge 商業版
Group Policy Administrative Templates Catalog - Google Chrome
管理 Chrome 更新設定 (Mac)
Github - ProfileCreator
iMazing Profile Editor
https://www.cnblogs.com/weizwz/p/18006594
本博客所有文章除特別聲明外,均採用 「CC BY-NC-SA 4.0 DEED」 國際許可協議,轉載請註明出處!
內容粗淺,如有錯誤,歡迎大佬批評指正