Skip to content

Instantly share code, notes, and snippets.

@sshymko
Last active July 5, 2024 04:28
Show Gist options
  • 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.

@Hydeny
Copy link

Hydeny commented Jul 5, 2024

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

Hi.. have you found the URL? I have same issue.. cannot block auto update from etc/hosts method

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