How to lock all the Firefox config

User Help for Mozilla Firefox
Locked
Francis SOUYRI
Guest

How to lock all the Firefox config

Post by Francis SOUYRI »

Hello,

I used the lockPerf to lock some configuration parameters of your Firefox install, there is too many parameters to lock so finally the best way is to lock all the configuration. How can I do this, thank you ?

Best regards.

Francis
User avatar
dickvl
Posts: 54161
Joined: July 18th, 2005, 3:25 am

Post by dickvl »

Francis SOUYRI
Guest

Post by Francis SOUYRI »

Hello,

Thank you dickvl, I know and used the method described in the URL, but there is lot of parameters in the about:config not all with a description on the net and more parameters not in about:config.... What I need is a method to lock all the parameters.

Actually my "lockPref" look this:

//
lockPref("network.proxy.type", 0);
lockPref("browser.startup.homepage", "http://home");
lockPref("browser.shell.checkDefaultBrowser", false);
lockPref("browser.bookmarks.restore_default_bookmarks", true);
lockPref("browser.cache.disk.capacity", 20000);
lockPref("browser.cache.disk.enable", true);
lockPref("browser.cache.disk_cache_ssl", false);
lockPref("browser.cache.memory.capacity", -1);
lockPref("browser.cache.memory.enable", true);
lockPref("browser.search.update", false);
lockPref("signon.rememberSignons", false);
lockPref("pref.general.disable_button.default_browser", true);
lockPref("pref.privacy.disable_button.view_passwords", true);
lockPref("pref.privacy.disable_button.set_master_password", true);
lockPref("privacy.sanitize.promptOnSanitize", false);
lockPref("privacy.sanitize.sanitizeOnShutdown", true);
lockPref("privacy.item.cache", true);
lockPref("privacy.item.cookies", true);
lockPref("privacy.item.downloads", true);
lockPref("privacy.item.formdata", true);
lockPref("privacy.item.history", true);
lockPref("privacy.item.passwords", true);
lockPref("privacy.item.sessions", true);
lockPref("extensions.update.enabled", false);
lockPref("extensions.update.autoUpdate", false);
lockPref("extensions.update.url", "");
lockPref("extensions.getMoreExtensionsURL", "");
lockPref("extensions.getMoreThemesURL", "");
lockPref("xpinstall.enabled", false);
lockPref("app.update.enabled", false);
lockPref("app.update.auto", true);
lockPref("app.update.mode", 0);
lockPref("app.update.url", "");
lockPref("app.update.disable_button.showUpdateHistory", true);
lockPref("security.OCSP.disable_button.managecrl", true);
lockPref("security.disable_button.openCertManager", true);
lockPref("security.disable_button.openDeviceManager", true);
lockPref("security.disable_button.changePassword", true);
lockPref("security.disable_button.resetPassword", true);
lockPref("security.default_personal_cert", "Select Automatically");
lockPref("security.OCSP.enabled", 0);

Best regards.

Francis
User avatar
dickvl
Posts: 54161
Joined: July 18th, 2005, 3:25 am

Post by dickvl »

I already thought that you would use that.
You can look here for info about prefs:
about:config_entries (KB)
Category:Preferences (KB)

There is also some comment in all.js: C:\Program Files\Mozilla Firefox\greprefs\
Francis SOUYRI
Guest

Post by Francis SOUYRI »

Dickvl,

I also checked these url.

Thank you, best regards.

Francis
User avatar
dickvl
Posts: 54161
Joined: July 18th, 2005, 3:25 am

Post by dickvl »

You're welcome :wink:
Locked