跳到主要内容

禁止Chrome更新

执行以下命令,删除更新器并禁止修改该目录。

rm -r ~/Library/Google/GoogleSoftwareUpdate/*
cd ~/Library/Google/
sudo chown nobody:nogroup GoogleSoftwareUpdate
sudo chmod 000 GoogleSoftwareUpdate

cd ~/Library/
sudo chown nobody:nogroup Google
sudo chmod 000 Google
设置更新检查周期
defaults write com.google.Keystone.Agent checkInterval 0
关闭更新提示
defaults write com.google.Chrome SuppressUnsupportedOSWarning -bool true
恢复MV2扩展使用
chrome://flags/#temporary-unexpire-flags-m137                     [Enabled]
chrome://flags/#extension-manifest-v2-deprecation-warning [Disabled]
chrome://flags/#extension-manifest-v2-deprecation-disabled [Disabled]
chrome://flags/#extension-manifest-v2-deprecation-unsupported [Disabled]
chrome://flags/#allow-legacy-mv2-extensions [Enabled]