I have no experience setting Mozilla preferences via OPSI.
I use custom.js, firefox.js and a general settings file on a file server.
custom.js, to be placed in firefox_installation_directory\defaults\pref\
Code: Alles auswählen
pref("general.config.filename", "firefox.js");
pref('general.config.obscure_value', 0);
firefox.js, to be placed in firefox_installation_directory\
Code: Alles auswählen
try {
// in this example it is a windows file share. I is also possible to give a real url like http://myserver.net/global_settings.js
lockPref("autoadmin.global_config_url","file://///win2003sbs-server/ICT/firefox_global_settings.js");
lockPref("autoadmin.refresh_interval", 60);
// Close the try, and call the catch()
} catch(e) {
displayError("lockPref", e);
}
firefox_global_settings.js on the file server:
Code: Alles auswählen
// try/catch-block voor het hele bestand
try {
// disable geolocation
pref("geo.enabled", false);
// search for text when typing
pref("accessibility.typeaheadfind", true);
// show full URLs
pref("browser.urlbar.trimURLs", false);
// show tabs on top
pref("browser.tabs.onTop", false);
// Do not warn on opening tabs
pref("browser.tabs.warnOnOpen", false);
// always check if webpage is still current
pref("browser.cache.check_doc_frequency", 1);
// Enable clear page on 'new tab'
pref("browser.newtabpage.enabled", false);
// Show windows and tabs form last session
pref("browser.startup.page", 3);
// Do not show downloadmanager when starting
pref("browser.download.manager.showWhenStarting", false);
// Disable certain javascript options
pref("dom.event.contextmenu.enabled", false);
// Disable certain javascript options
pref("dom.disable_window_move_resize", true);
// Disable first run UI
pref("browser.feeds.showFirstRunUI", false);
// do not display 'know your rights'-bar
pref("browser.rights.3.shown", true);
// Disable spellcheck
pref("layout.spellcheckDefault", 0);
// Enable pipelining
pref("network.http.pipelining", true);
pref("network.http.pipelining.ssl", true);
pref("network.http.proxy.pipelining", true);
// Options -> Advanced -> Update -> Automatically check for updates to : Installed Extensions and Themes
pref("extensions.update.enabled", false);
pref("extensions.update.autoUpdateDefault", false);
// Options -> Advanced -> Update -> Automatically check for updates to : Firefox
pref("app.update.enabled", false);
pref("app.update.auto", false);
// Options -> Advanced -> Update -> Automatically check for updates to : Search Engines
pref("browser.search.update", false);
// Default homepage
pref("browser.startup.homepage", "http://www.dilbert.com/fast");
// disable smooth scrolling
pref("general.smoothScroll", false);
// stops the request to send performance data from displaying
pref("toolkit.telemetry.rejected", true);
pref("toolkit.telemetry.prompted", 2);
// To prevent the Migration Assistant and the What's New page from showing after upgrades, use:
pref("app.update.showInstalledUI", false);
pref("browser.startup.homepage_override.mstone", "ignore");
} catch(e) {
displayError("firefox_global_settings.js", e);
}
Not really an answer, but an alternative option.