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

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

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

  • 2 odpovede
  • 3 majú tento problém
  • 8 zobrazení
  • Posledná odpoveď od 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.

Vybrané riešenie

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

Čítať túto odpoveď v kontexte 👍 1

Všetky odpovede (2)

more options

Vybrané riešenie

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/