Die Funktionalität dieser Website ist durch Wartungsarbeiten eingeschränkt, die Ihr Erlebnis verbessern sollen. Wenn ein Artikel Ihr Problem nicht löst und Sie eine Frage stellen möchten, können Sie unsere Gemeinschaft über @FirefoxSupport auf Twitter, /r/firefox oder Reddit fragen.

Hilfe durchsuchen

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

Weitere Informationen

User can't change homepage when I set a default one in mozilla.cfg

  • 2 Antworten
  • 3 haben dieses Problem
  • 6 Aufrufe
  • Letzte Antwort von ohmer

more options

I have this in mozilla.cfg: pref("browser.startup.homepage", "http://internal.intranet.tld");

This make our intranet as the default home page. But it's not locked (I'm not using lockPref()), so I want to allow an user to change the homepage if he wants.

But, this is not working. Changing the homepage is not saved.

I have this in mozilla.cfg: pref("browser.startup.homepage", "http://internal.intranet.tld"); This make our intranet as the default home page. But it's not locked (I'm not using lockPref()), so I want to allow an user to change the homepage if he wants. But, this is not working. Changing the homepage is not saved.

Ausgewählte Lösung

hi ohmer, you need to use defaultPref() for settings that users should be able to change and have full control over - pref() only allows to deviate from the default during the current session...

Diese Antwort im Kontext lesen 👍 1

Alle Antworten (2)

more options

Ausgewählte Lösung

hi ohmer, you need to use defaultPref() for settings that users should be able to change and have full control over - pref() only allows to deviate from the default during the current session...

more options

Thank for the answer. It also need a little twist to make it working. See https://mike.kaply.com/2012/08/29/setting-the-default-firefox-homepage-with-autoconfig/