问题
How do I disable Google Chrome extension autoupdate?
回答1:
Solutions I found for this:
1. Disabling concrete extension update.
That's what I wanted!
You can do this by editing the extensions manifest json-file
on Windows: C:\Users\<USERNAME>\AppData\Local\Google\Chrome\User Data\Default\Extensions\<EXTENSION-ID>\<VERSION>\manifest.json
(find out the extensions ID by enabling developer mode in the extension settings page)
on Ubuntu for Chromium: ${HOME}/.config/chromium/Default/Preferences
In this file set "update_url"
property to something invalid like "https://localhost"
for example. For now according to given url updating of that extension is simply impossible.
source: https://productforums.google.com/d/msg/chrome/l3zOZeO-5-M/Y7VaR0KCWNIJ
2. Disabling all Google Chrome updates.
2.1. Any OS
Just type chrome://plugins/
at address bar and turn Google Update plugin off.
source: How to disable Google Chrome auto update?
2.2 Win OS
Set Registry values
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Update]
"AutoUpdateCheckPeriodMinutes"=dword:00000000
"UpdateDefault"=dword:00000000
source: Making Google Chrome leave itself alone
回答2:
If the chrome extension is on Github (which many if not most of them are), you can simply:
(1.) clone the Github repo,
(2.) reset the head to the version that you want, and
(3.) enable Developer Mode at chrome://extensions/
(4.) select the "Load unpacked" option from chrome://extensions/, and then select the folder enclosing the source code for the extension.
I recently used this technique to downgrade my version of Reddit Link Opener, which no longer supports users who have opted out of using that site's redesign. This worked for me on MacOS, but should work on all platforms.
If the extension is loaded as an unpacked extension (in the manner described above), it will NOT auto-update to a newer version.
回答3:
Hi all those solitions for me have one disadvantage is that all extensions have no updates, I needed to stop only for one extension in this case and wanted al the other to keep making updates.
I think I found the solutuion for windows
Go to C:\Users\YOUR_NAME_HERE\AppData\Local\Google\Chrome\User Data\Default\Extensions\YOUR_FOLDER APP HERE\
In that folder app click in properties and select read only an aplly that to all subfolders and files... for now for me solved the problem !!!
Regards xichas
回答4:
After updating Google Chrome to v60, no solution found on the Internet has helped me
So i just blocked IP addresses, used for updating, by doing following steps:
- Opened Chrome with blank browser tab
- Waited, until extension autoupdate begins, by looking on to network tab in Resource Monitor
- Wrote out all the IP addresses with high download rate. My IP address list was:
64.233.161.94 64.233.161.102 64.233.163.95 74.125.238.132 108.177.14.138 173.194.73.132 173.194.222.102 216.58.209.110 216.58.209.97 173.194.222.99 173.194.32.227 173.194.113.172 173.194.32.224 195.216.237.77 74.125.232.170 143.215.130.61 74.125.238.147 173.194.122.137 173.194.44.66 173.194.44.67 173.194.44.95 173.194.122.136 74.125.232.183 74.125.232.171
- Created outbound rule for chrome.exe in Windows Firewall and added listed IP addresses to blocklist
After I enabled this rule, chrome was unable to update my extensions.
回答5:
this is a complementary answer to the accepted one https://stackoverflow.com/a/27657703/1422630 , allowing disable all at once on chromium
this is also only for linux (may be run on windows thru cygwin tho, not tested..)
this script will
- backup the prefs file,
- modify it,
- if didnt succeed will output "FAILED"
- show the differences using meld if installed
#!/bin/bash
set -ue
strPref="$HOME/.config/chromium/Default/Preferences"
cat "$strPref" |egrep "\"update_url[^,]*," -o |sort -u
read -p "existing unique urls above..." -n 1
strBkp="${strPref}.`date +"%Y%m%d%H%M%S"`.bkp"
if cp -v "$strPref" "$strBkp";then
strUpdUrl="clients2.google.com/service/update2/crx" #change this if needed #TODO should match any URL...
sed -i -r "s@(update_url\":\"https{,1}://)(${strUpdUrl})@\1127.0.0.1@g" "$strPref"
if grep "$strUpdUrl" "$strPref";then echo FAILED >&2;exit 1;fi
cmdDiff=colordiff
if which meld;then cmdDiff=meld;fi
#$cmdDiff <(cat "$strPref" |egrep "\"update_url[^,]*," -o) <(cat "$strBkp" |egrep "\"update_url[^,]*," -o)
$cmdDiff <(cat "$strPref" |sed -r 's@","@",\n"@g') <(cat "$strBkp" |sed -r 's@","@",\n"@g')
fi
tested on chromium: Version 63.0.3239.84 (Official Build) Built on Ubuntu , running on Ubuntu 16.04 (64-bit)
obs.: that script also works for google-chrome, just change the preferences file path
来源:https://stackoverflow.com/questions/27657617/how-to-disable-google-chrome-extension-autoupdate