We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

disable app update

  • 3 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

Hi,

I'm used to deploying/configuring Firefox in an organization with settings in autoconfig.js, etc. Recently, I've seen that some settings are honored, others aren't, so I started using policies.json as well as keeping my autoconfig.js. Can they work together?

In any case, I am unable to disable app update with either of them. I have the following in policies.json:

{

   "policies": {

"DisableFirefoxAccounts": true, "DisablePocket": true,

       "DisableAppUpdate": true,

"DontCheckDefaultBrowser": true, "DNSOverHTTPS": { "Enabled": false }, "Certificates": { "ImportEnterpriseRoots": true } "PopupBlocking": { "Allow": ["http://10.215.144.56:8080", "https://intranet.mydomain.org"], "Default": true | false, "Locked": true | false }

   }

}

I'm also showing a snippet of my autoconfig.js file:

lockPref("app.update.auto", false); lockPref("app.update.enabled", false); lockPref("app.update.mode", 0); lockPref("app.update.service.enabled", false); lockPref("app.update.disable_button.showUpdateHistory", false); lockPref("app.update.url", ""); lockPref("app.update.url.details", ""); lockPref("app.update.url.manual", ""); lockPref("signon.rememberSignons", false); lockPref("extensions.update.enabled", false);

The problem is that when I start Firefox 78.3.0 ESR and go to the about Firefox window, I can see that the app update is not disabled.

How can I make sure that all the above settings in autoconfig.js are actually honored?

Thanks

Hi, I'm used to deploying/configuring Firefox in an organization with settings in autoconfig.js, etc. Recently, I've seen that some settings are honored, others aren't, so I started using policies.json as well as keeping my autoconfig.js. Can they work together? In any case, I am unable to disable app update with either of them. I have the following in policies.json: { "policies": { "DisableFirefoxAccounts": true, "DisablePocket": true, "DisableAppUpdate": true, "DontCheckDefaultBrowser": true, "DNSOverHTTPS": { "Enabled": false }, "Certificates": { "ImportEnterpriseRoots": true } "PopupBlocking": { "Allow": ["http://10.215.144.56:8080", "https://intranet.mydomain.org"], "Default": true | false, "Locked": true | false } } } I'm also showing a snippet of my autoconfig.js file: lockPref("app.update.auto", false); lockPref("app.update.enabled", false); lockPref("app.update.mode", 0); lockPref("app.update.service.enabled", false); lockPref("app.update.disable_button.showUpdateHistory", false); lockPref("app.update.url", ""); lockPref("app.update.url.details", ""); lockPref("app.update.url.manual", ""); lockPref("signon.rememberSignons", false); lockPref("extensions.update.enabled", false); The problem is that when I start Firefox 78.3.0 ESR and go to the about Firefox window, I can see that the app update is not disabled. How can I make sure that all the above settings in autoconfig.js are actually honored? Thanks

被選擇的解決方法

app.update.enabled is no longer supported and thus won't have effect. app.update.auto is still supported and should work and controls this setting.

  • Automatically install updates (recommended)
  • Check for updates but let you choose to install them

There is no list possible for all pref settings you can use in autoconfig.cfg. You can possibly search the Firefox source code if you want to know if a pref still has effect.

Note that in some cases you may have to leave out leading branches in the pref name.

從原來的回覆中察看解決方案 👍 0

所有回覆 (3)

more options

You can check the Browser Console for possible error messages about autoconfig.cfg (this file is run a privileged JavaScript).

You can check the about:policies page to see if there are errors reported. Of course true | false is not a valid value and you need to use either of true or false.

 "PopupBlocking": {
   "Allow": ["http://10.215.144.56:8080",
     "https://intranet.mydomain.org"],
   "Default": true | false,
   "Locked": true | false
  }

由 cor-el 於 修改

more options

Right, that was a mistake on my behalf. Thanks for pointing me to about:policies. I didn't know about it.

BTW, am I right if I understand that PopupBlocking -> Default = true means that popups are blocked by default?

Also, the browser console (F12) shows no errors (I'm pressing F12 after starting Friefox and loading the home page). I know some settings in autoconfig.js are actually applied, so why weren't these?

lockPref("app.update.auto", false); lockPref("app.update.enabled", false);

Are they obsolete?

Where can I find a list of currently valid options for autoconfig.js like there is for policies.json?

Thanks

由 vieri 於 修改

more options

選擇的解決方法

app.update.enabled is no longer supported and thus won't have effect. app.update.auto is still supported and should work and controls this setting.

  • Automatically install updates (recommended)
  • Check for updates but let you choose to install them

There is no list possible for all pref settings you can use in autoconfig.cfg. You can possibly search the Firefox source code if you want to know if a pref still has effect.

Note that in some cases you may have to leave out leading branches in the pref name.