This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Cari Bantuan

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Pelajari Lebih Lanjut

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

  • 2 balas
  • 3 memiliki masalah ini
  • 6 kunjungan
  • Balasan terakhir oleh 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.

Solusi terpilih

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...

Baca jawaban ini dalam konteks 👍 1

Semua Balasan (2)

more options

Solusi Terpilih

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/