Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è chiusa e archiviata. Inserire una nuova richiesta se occorre aiuto.

HTTPS only mode pre-configuration via cfg/js

  • 4 risposte
  • 1 ha questo problema
  • 100 visualizzazioni
  • Ultima risposta di SuMo Bot

more options

Is there any official or unofficial article/website explaining all the about:config settings? Currently i am trying to pre-edit all my custom firefox settings with the autoconfig.cfg I noticed that dns over https can be pre-edited with the cfg, so im pretty sure the setting: enable https only mode for all windows, which by default is disabled for whatever questionable reason, can be pre-activated via cfg.

How could i do that?

Is there any official or unofficial article/website explaining all the about:config settings? Currently i am trying to pre-edit all my custom firefox settings with the autoconfig.cfg I noticed that dns over https can be pre-edited with the cfg, so im pretty sure the setting: enable https only mode for all windows, which by default is disabled for whatever questionable reason, can be pre-activated via cfg. How could i do that?

Soluzione scelta

That is about these two https_only_mode prefs:

  • dom.security.https_only_mode
  • dom.security.https_only_mode_pbm

Note that you can also set dom. prefs via policies.json.

Leggere questa risposta nel contesto 👍 1

Tutte le risposte (5)

more options

Hello,

I believe you know the spiel about about:config, so I won't include it here.

The about:config setting should be dom.security.https_only_mode (and maybe dom.security.https_only_mode_ever_enabled?) to be set to true.

For more information on setting autoconfig, look at Customizing Firefox Using AutoConfig

more options

Soluzione scelta

That is about these two https_only_mode prefs:

  • dom.security.https_only_mode
  • dom.security.https_only_mode_pbm

Note that you can also set dom. prefs via policies.json.

more options

Thank you both very much, i appreciate your help alot!

Now i included those settings into firefox.cfg any it seems to be working correctly. lockPref("dom.security.https_only_mode", true); lockPref("dom.security.https_only_mode_ever_enabled", true);

more options

This question has been locked because the original author has deleted their account. While you can no longer post new replies, the existing content remains available for reference.