Please visit the original link: sysin.org/article/dis… To view the latest version. Reprint please retain the source.
Author: GC (at)sysin.org, homepage: www.sysin.org
How do I disable automatic updates for Mozilla FireFox? How do I disable automatic updates for Microsoft Edge? How do I disable automatic updates for Google Chrome
Firefox for Windows
Method 1: Use a policy file
Official Policy template: github.com/mozilla/pol…
Create a policy file: <Firefox installation directory >\distribution\policies.json
As follows,
{
"policies": {
"DisableAppUpdate.": false}}Copy the code
Method 2: Use the registry
Operation steps:
-
Browse to “HKEY_LOCAL_MACHINE\Software\Policies” create item “Mozilla” after the create item “Firefox” is created “HKEY_LOCAL_MACHINE \ Software \ Policies \ \ Mozilla Firefox”
-
In the preceding path, right-click the blank area and create a DWORD (32-bit) Value named DisableAppUpdate.
-
Double-click the created DisableAppUpdate to change the value to 1.
Use registry files directly
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox]
"DisableAppUpdate"=dword:00000001
Copy the code
Use CMD directly (recommended, easiest)
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox" /v DisableAppUpdate /t REG_DWORD /d 1 /f
Copy the code
Verify the effect of
“Firefox Update” is displayed in Options, indicating that the update has been disabled by the system administrator. The update button is also unavailable.
“Update has been disabled by the system administrator” is displayed in the About Firefox dialog box.
Reference article: www.webnots.com/how-to-disa…
Firefox for macOS
Method 1: Configure a policy file
To obtain the latest or corresponding policy template: github.com/mozilla/pol…
The automatic update policy is described as follows:
{
"policies": {
"DisableAppUpdate": true | false}}Copy the code
Create a Firefox policy profile
Firefox.app/Contents/Resources/distribution/policies.json
If automatic updates are disabled, the following content is written to the policies.json file
{
"policies": {
"DisableAppUpdate": true}}Copy the code
You can run the following command on the terminal:
mkdir /Applications/Firefox.app/Contents/Resources/distribution
echo '
{
"policies": {
"DisableAppUpdate": true
}
}
' > /Applications/Firefox.app/Contents/Resources/distribution/policies.json
Copy the code
Method 2: Use Plist to configure policies
. Configuration org. Mozilla firefox. Plist content is as follows:
- Enable the strategy
sudo defaults write /Library/Preferences/org.mozilla.firefox EnterprisePoliciesEnabled -bool TRUE
Copy the code
- Disabling automatic updates
sudo defaults write /Library/Preferences/org.mozilla.firefox DisableAppUpdate -bool TRUE
Copy the code
Verify the effect of
“Updates have been disabled by the system administrator” is displayed in Firefox Update in Preferences, and the update button is unavailable.
Firefox for Linux
On Linux, the file goes into firefox/distribution
, where firefox
is the installation directory for firefox, which varies by distribution or you can specify system-wide policy by placing the file in /etc/firefox/policies
.
Write the policies.json file to the above path as follows:
{
"policies": {
"DisableAppUpdate": true}}Copy the code