Skip to content

Instantly share code, notes, and snippets.

@sshymko
Last active October 27, 2020 13:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sshymko/e062db78369346917a16ca3da09db74f to your computer and use it in GitHub Desktop.
Save sshymko/e062db78369346917a16ca3da09db74f to your computer and use it in GitHub Desktop.
Google Chrome auto-update block for Mac OS
#!/bin/sh
sudo tee -a /etc/hosts << EOF
# Block Google Chrome auto-update
0.0.0.0 tools.google.com
EOF
@wimpykid719
Copy link

I tried this command then added 0.0.0.0 tools.google.com at my hosts file.
But chrome can check update still.
Why? Did they changed the way to update?

@sshymko
Copy link
Author

sshymko commented Oct 27, 2020

@wimpykid719
Have you tried rebooting the operating system to make sure the hosts file changes take effect? :)

Haven't used this in a while, so it may have stopped working on the latest Chrome versions.
It is totally possible that the update URL and/or the update process altogether have since changed.
You can try to reverse engineer the URL from the binaries or using the network monitoring tools, such as netstat or nettop.
Would really appreciate if somebody researched this and provided an up-to-date updater URL.

@wimpykid719
Copy link

Yes I did reboot.
Thank you I try to monitor network.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment