Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Nummer anzurufen, sie per SMS zu kontaktieren oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Learn More

policies.json vs. about:config

  • 4 Antworten
  • 1 hat dieses Problem
  • 18 Aufrufe
  • Letzte Antwort von AmChannel

more options

Hello Firefox-Support Team,

I want to know if i set differnet value for browser.download.folderList in policies.json = 0 in about:config = 1 which value will be enforced?

BRs AM

Hello Firefox-Support Team, I want to know if i set differnet value for browser.download.folderList in policies.json = 0 in about:config = 1 which value will be enforced? BRs AM

Alle Antworten (4)

more options

That will likely be the value as set via policies.json. The source code shows:

  DefaultDownloadDirectory: {
    onBeforeAddons(manager, param) {
      setDefaultPref("browser.download.dir", replacePathVariables(param));
      // If a custom download directory is being used, just lock folder list to 2.
      setAndLockPref("browser.download.folderList", 2);
    },
  },

more options

Hello cor-el,

thank you for your quick answer. One more question: Is it a general case that the settings from policies.json will be enforced? It will be suitable for the following examples/PolicyName ,which are listed from this site: https://github.com/mozilla/policy-templates/blob/master/README.md#extensions ? of cousre, only for those, which can been used by about:config.

Thank you! BR AM

more options

If you can set preferences directly then you can set the Locked status if you want.

Are you setting browser.download.dir as well ?

more options

No. Just I have a very extensive settings/preferences and just for the case that things would be sometimes be overlooked, since I set them in two places for different values. The question was purely hypothetical so that I know which setting (from policies.json or about:config/autoconfig) is counted/has the higher prio. If I understand you correctly, then the values (not just limited to my given example at the very beginning) in policies.json has a higer prio then in about:config, right?

Geändert am von AmChannel