HOWTO Make Mozilla Firefox Stop Nagging You About Updates And Other Annoying Idiocy

From LinuxReviews
Jump to navigationJump to search
Firefox-space-icon.png

Mozilla, the company behind Firefox, has intentionally made it somewhere between hard and impossible to stop recent Firefox versions from nagging you about updates on a regular basis. That is you use the Beta or Nightly channels. It used to be possible to disable the nagging using in-browser configurable settings, but Mozilla decided that it gave Firefox users too much control so they took it away. Luckily, there is another lesser-know way Linux users can use to make Firefox stop nagging about updates and other lunacy.

written by 윤채경 (Yoon Chae-kyung)  2021-04-17 - last edited 2021-04-18. © CC BY

Mozilla-firefox-88-nagging.jpg
Mozilla Firefox 88 nagging about updates.

Most of the Linux distributions ship a customized Firefox version that won't nag about updates all day long. That is not the case if you download and install the Linux version of Firefox from Mozilla's website. That build will nag about updates regularly. The beta and nightly builds are even more annoying, they will basically nag you about some minor update half the time you sit down in front of your computer.

The obvious question is: Why not uninstall Firefox and use NAVER whale, Chromium, or even Google Chrome instead of that bloated always-nagging Firefox browser full of telemetery, useless features like "Pocket" and other things nobody wants? Well, you can, and probably should. However, if you really want to use Firefox for some reason and you want to get rid of that nagging then you may find yourself going down one very deep rabbit-hole.

A lot of older web pages will tell you that you can disable automatic updates by changing the value of app.update.enabled to false in about:config or a user.js file in the Firefox profile directory. That was too convenient for Mozilla removed it in Firefox 63. There used to be several other preferences you could use, like app.update.auto, but that was a way too easy way to stop Firefox from trying to update when you're on a expensive shoe-string wireless Internet connection in a cabin somewhere so Mozilla removed that too. They introduced a small pop-up asking users to update instead of respecting their users wishes.

Several websites claim that the "Update your Firefox to the latest in speed and privacy" nag-box can be disabled by setting app.update.doorhanger to false. That was true for a while, but it gave Firefox users too much control so Mozilla removed that option.

There is currently no way to disable the regular annoying "A new Firefox update is available" using regular Firefox settings.

There is, however, one loophole GNU/Linux users can and should use: "Enterprise Settings".

The trick is to make a folder named /etc/firefox/policies/ with a file called policies.json in it. That file can look something like this:

File: /etc/firefox/policies/policies.json
{
 "policies": {
   "DisableAppUpdate": true,
   "DisableFirefoxAccounts": true,
   "DisableFirefoxStudies": true,
   "DisablePocket": true,
   "DisableTelemetry": true,
   "DontCheckDefaultBrowser": true,
   "SearchBar": "separate"
   }
}

You may notice that a enterprise policy file does not look anything like the user.js file many Firefox users have painstakingly created and placed in their Firefox profile directory just to have Firefox intentionally ignore most of what is in it:

File: $HOME/.mozilla/firefox/number.profile/user.js
user_pref("app.update.auto",                     false);
user_pref("app.update.enabled",                  false);
user_pref("app.update.autoInstallEnabled",	 false);
user_pref("app.update.lastUpdateTime.background-update-timer", 0);
user_pref("app.update.silent",                   true);
user_pref("app.update.doorhanger",               false);

None of the above settings are relevant as of Mozilla Firefox 88. However, there are some settings that you will probably want to have in a user.js (you can also set them in about:config if you prefer:

File: $HOME/.mozilla/firefox/number.profile/user.js
user_pref("gfx.x11-egl.force-enabled",           true);
user_pref("network.trr.mode",                    5);
user_pref("app.normandy.enabled",                false);

You will want gfx.x11-egl.force-enabled when Mozilla Firefox 88 is released in a few days. Mozilla will be force-enabling their new Webrender renderer upon all their users and it is horribly slow out-of-the-box on Linux. gfx.x11-egl.force-enabled makes a lot faster, Firefox's performance is almost in the same ball-park as Chromium-based web browsers when Webrender is using EGL instead of whatever utterly slow pipeline it uses by default.

network.trr.mode disables DNS over HTTPS using Cloudflare's servers.

Normandy is Mozilla's way of saying backdoor add-on programs that are silently installed in your browser. They refer to those programs as "studies". Setting app.normandy.enabled to false used to disable that "functionality" and it may or may not still do that.

The only sure way to change how Firefox behaves is to use the enterprise policy framework. Firefox seems to care about large corporate customers. They clearly do not care about regular people, the Mozilla corporation has demonstrated that time and time again. They even participate in vicious bullying campaigns against elderly individuals who are singled out for being slightly different these days.

Firefox-88-with-enterprise-policies.jpg
Mozilla Firefox 88 with "enterprise" settings.

You should create a /etc/firefox/policies/policies.json file using the example above and restart Firefox (type about:restartRequired into the address box) and then, once it restarts, type about:policies into the address bar. The special about:policies page will either tell you "The Enterprise Policies service is inactive" or show a list of active policies. Those policies are, unlike regular user settings, actually honored. The special policy page has a Documentation section where you can see all the special keys that are available.

DisableAppUpdate, DisableFirefoxStudies and DisableTelemetry are probably among the policies you want.

ManualAppUpdateOnly is an alternative to DisableAppUpdate if you want to:

"Allow manual updates only and do not notify the user about updates."

Manual updates can be done by going to Help ▸ About Firefox if the ManualAppUpdateOnly policy is set. There is no Tools ▸ Update menu item or anything similar since that would be too user-friendly and make sense, and Mozilla seems to prefer that everyone is forced to update when they, not grown individuals using their products, decide. If will of course not work if you have two Firefox instances with different profiles, Firefox will just lie and say "Firefox is being updated by another instance" (even when it's not, having two profiles open is enough to prevent updates) in that narrow specialized case.

Firefox-88-new-tab.jpg
A new "Firefox Home" tab with nothing but a Firefox logo and a search bar thanks to a "Enterprise" policy. The Messages from Firefox and the sponsored Top sites and all that useless garbage is gone.

Firefox "enterprise" policies" allow you to do configure a lot of the things used to be possible with settings in about:config or a user.js and there are several useful options that are available as "enterprise" policies" that were never available anywhere else. You can, for example, customize the "Firefox Home" page Mozilla Firefox defaults to in new pages and new tabs with a FirefoxHome policy:

File: /etc/firefox/policies/policies.json
{
 "policies": {
   "DisableAppUpdate": true,
   "DisableFirefoxStudies": true,
   "FirefoxHome": {
      "Search": true,
      "TopSites": false,
      "Highlights": false,
      "Pocket": false,
      "Snippets": false,
      "Locked": true 
   },
   "DisableFirefoxAccounts": true,
   "DisablePocket": true,
   "DisableTelemetry": true,
   "DontCheckDefaultBrowser": true,
   "SearchBar": "separate" 
 }
}

A good enterprise policy for Firefox is something you should make if you still use Firefox as web browser for some reason. They are removing more and more end-user control with each new release. The "enterprise" policies seem to be the only way left around that. The only downside to this method is that you have to have root access which is kind of a problem if you are using a "administered" machine borrowed from your empolyer. The good news is that you can be your own little global "enterprise" in Mozilla's eyes if you can prove it by placing some contents in /etc/firefox/policies/policies.json.

5.00
(2 votes)


avatar

Gnu4ever

11 days ago
Score 1++
Here's how to fix firefox: sudo apt purge firefox
avatar

Chaekyung

10 days ago
Score 0++

Nothing bad happens if you don't update Firefox within 5 minutes of a new release. And, more importantly, nothing bad happens if you are working on a laptop connected to the Internet by an expensive metered smartphone data-link and you don't update Firefox until you get home where you have a 100mbit connection and bandwidth doesn't matter.

Firefox shouldn't be nagging you to update every 10 minutes. What's worse is that Mozilla has clearly gone out of their way to ensure that you can't easily prevent it from updating or disable those extremely annoying messages.

You should know that I didn't just randomly decide to write this page out of the blue. I was in a situation where updating wasn't practical and I couldn't get Firefox to stop nagging so I ended up wasting ages researching how to get rid of that crap when I got home. It is outright laughable that 99% of the "helpful" pages no longer detailing how to stop Firefox from nagging about updates describe methods that have been intentionally disabled by Mozilla. It's like they are subtly asking the 5% of desktop web browsers users who still use their browser to give up on it and switch.
Add your comment
LinuxReviews welcomes all comments. If you do not want to be anonymous, register or log in. It is free.