Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

I want to set homepage using mozilla.cfg file during deployment, but want to allow users to change the homepage later according to them.

  • 2 réponses
  • 3 ont ce problème
  • 4 vues
  • Dernière réponse par mayankv59

more options

I have deployed firefox using local-settings.js, mozilla.cfg and override.ini files.

local-settings.js : pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg");

mozilla.cfg : //Firefox Default Settings

// set Firefox Default homepage pref("browser.startup.homepage","https://www.yahoo.com");

// disable default browser check pref("browser.shell.checkDefaultBrowser", false); pref("browser.startup.homepage_override.mstone", "ignore");

// disable application updates pref("app.update.enabled", false)

// disables the 'know your rights' button from displaying on first run pref("browser.rights.3.shown", true);

// disables the request to send performance data from displaying pref("toolkit.telemetry.prompted", 2); pref("toolkit.telemetry.rejected", true);

the homepage is getting set properly, but the user is not able to change the homepage later on. plz tell what changes i need to make so that users should be able to change the homepage according to their choice any time.

I have deployed firefox using local-settings.js, mozilla.cfg and override.ini files. local-settings.js : pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg"); mozilla.cfg : //Firefox Default Settings // set Firefox Default homepage pref("browser.startup.homepage","https://www.yahoo.com"); // disable default browser check pref("browser.shell.checkDefaultBrowser", false); pref("browser.startup.homepage_override.mstone", "ignore"); // disable application updates pref("app.update.enabled", false) // disables the 'know your rights' button from displaying on first run pref("browser.rights.3.shown", true); // disables the request to send performance data from displaying pref("toolkit.telemetry.prompted", 2); pref("toolkit.telemetry.rejected", true); the homepage is getting set properly, but the user is not able to change the homepage later on. plz tell what changes i need to make so that users should be able to change the homepage according to their choice any time.

Solution choisie

hello mayankv59, try to set the following in your mozilla.cfg file:

// set Firefox Default homepage 
defaultPref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=https://www.yahoo.com");

http://mike.kaply.com/2012/08/29/setting-the-default-firefox-homepage-with-autoconfig/

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (2)

more options

Solution choisie

hello mayankv59, try to set the following in your mozilla.cfg file:

// set Firefox Default homepage 
defaultPref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=https://www.yahoo.com");

http://mike.kaply.com/2012/08/29/setting-the-default-firefox-homepage-with-autoconfig/

more options

hi mike, thanks for the reply, the solution works..:)