Este site está com funcionalidades limitadas enquanto realizamos manutenção para melhorar sua experiência de uso. Se nenhum artigo resolver seu problema e você quiser fazer uma pergunta, nossa comunidade de suporte pode te ajudar em @FirefoxSupport no Twitter e /r/firefox no Reddit.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

Does setting "browser.startup.homepage" during install lock keeping any user changed homepages?

  • 4 respostas
  • 4 têm este problema
  • 1 visualização
  • Última resposta de ragnar86

more options

When I set the page using the pref command, using the common "mozilla.cfg" method, any time a user tries to set the home page, it does not save. Instead it reverts back to the page set by pref. I can see in the users pref file that it is being correctly written, however once Firefox is completely restarted, it resets this in both the Firefox options and the users pref file. Is expected behavior or is it an issue anyone else has encountered?

When I set the page using the pref command, using the common "mozilla.cfg" method, any time a user tries to set the home page, it does not save. Instead it reverts back to the page set by pref. I can see in the users pref file that it is being correctly written, however once Firefox is completely restarted, it resets this in both the Firefox options and the users pref file. Is expected behavior or is it an issue anyone else has encountered?

Solução escolhida

Thanks for your help but that still did not resolve the issue. What I have ended up doing is to edit the browserconfig.properties file found in the omni.ja\chrome\en-US\locale\branding\ folder and then copying that down to the local path. All of my other modifications performed in the Mozilla.cfg file work without issue.

Ler esta resposta 👍 0

Todas as respostas (4)

more options

this is expected behaviour, pref() only allows changes during the open session

instead try defaultPref("browser.startup.homepage", "http://example.com");

more options

Thanks for your solution. I tried applying the defaultpref, but it fails to work saying it cannot access the configuration file.

more options

mind the capital letter in defaultPref, then it should work!

more options

Solução escolhida

Thanks for your help but that still did not resolve the issue. What I have ended up doing is to edit the browserconfig.properties file found in the omni.ja\chrome\en-US\locale\branding\ folder and then copying that down to the local path. All of my other modifications performed in the Mozilla.cfg file work without issue.