Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

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

En savoir plus

lock firefox homepage

  • 4 réponses
  • 18 ont ce problème
  • 1 vue
  • Dernière réponse par ymz372000

more options

With Firefox 3 and older I could lock down the homepage using the instructions on this page:

http://ilias.ca/blog/2005/03/locking-mozilla-firefox-settings/

With Firefox 4 it does not appear to work anymore. Does anyone know how to lock down the homepage with version 4?

Thanks

With Firefox 3 and older I could lock down the homepage using the instructions on this page: http://ilias.ca/blog/2005/03/locking-mozilla-firefox-settings/ With Firefox 4 it does not appear to work anymore. Does anyone know how to lock down the homepage with version 4? Thanks

Toutes les réponses (4)

more options

Locking prefs should still work in Firefox 4.

more options

lock firefox homepage

With Firefox 3 and older I could lock down the homepage using the instructions on this page:

http://ilias.ca/blog/2005/03/locking-mozilla-firefox-settings/

With Firefox 4 it does not appear to work anymore. Does anyone know how to lock down the homepage with version 4?

Thanks

more options

Use the instruction as written in:

Create a file local-settings.js in the defaults\pref folder with this content:

pref("general.config.filename", "mozilla.cfg").

Add this line if you want to disable the byte-shifting in mozilla.cfg.

pref("general.config.obscure_value", 0);

Place the mozilla.cfg file in the main Firefox program folder.

You can use these functions in mozilla.cfg :

defaultPref();  // set new default value
pref(); // set pref, but allow changes
lockPref();  // lock pref, disallow changes
more options

To lock down homepage in Firefox 5 (tested, Windows XP):

1) In ...\Program Files\Mozilla Firefox\defaults\pref\ (folder) using Notepad create file local-settings.js containing following code lines:

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

Without the last line (general.obscure_value override) it won't work.

2) In ...\Program Files\Mozilla Firefox\ using Notepad create file mozilla.cfg with following code lines:

//
lockPref("browser.startup.page", 1);
lockPref("browser.startup.homepage", "about:blank");

Without the first code line the homepage setting won't lock. For general.obscure_value >0 mozilla.cfg must be byte-shifted by the specified number of bytes.

Other lock downs can presumably be added, but not tested.

Modifié le par cor-el