Hallo,
zurzeit bzw. seit einer neueren Version von Firefox kann ich mit dem Befehl Set_Mozilla_Pref("user_pref","network.proxy.no_proxies_on","network.proxy.no_proxies_on","localhost, 127.0.0.1, 172.0.0.0/8, .domain") in der Sektion PatchTextFile keine Ausnahmen für den Firefox hinzufügen. Die Zeile steht bis zum Start von Firefox unter prefs.js und nach dem Start unter Invalidprefs.js.
Wenn ich die Ausnahmen manulle hinzufüge, steht der Eintrag ohne Probleme fest in der prefs.js. (user_pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, .jv.bayern.de");)
Hat jemand schon Erfahrungen damit gemacht?
Danke und Schöne Grüße
Probleme mit Set_Mozilla_Pref
- SisterOfMercy
- Beiträge: 1556
- Registriert: 22 Jun 2012, 19:18
Re: Probleme mit Set_Mozilla_Pref
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\
firefox.js, to be placed in firefox_installation_directory\
firefox_global_settings.js on the file server:
Not really an answer, but an alternative option.
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);
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);
}
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);
}
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
-
- Beiträge: 15
- Registriert: 16 Jul 2013, 09:48
Re: Probleme mit Set_Mozilla_Pref
Good morning,
thanks for your request.
But I want to set this settings not at the installation from Firefox but rather with an extra script, like an update script for the proxy.
Best regards,
thanks for your request.
But I want to set this settings not at the installation from Firefox but rather with an extra script, like an update script for the proxy.
Best regards,
- SisterOfMercy
- Beiträge: 1556
- Registriert: 22 Jun 2012, 19:18
Re: Probleme mit Set_Mozilla_Pref
Yes, but I can't help you with that. Maybe you should ask UIB if they have tested this with newer Firefox versions? Perhaps something changed with more recent versions? The move from ESR17 to ESR24 doesn't seem like a big step, but under the hood I have seen a few more differences. (No more javascript options in the preferences menu, TLSv1.2 also has to be set in about:config)OpsiBenutzer hat geschrieben:But I want to set this settings not at the installation from Firefox but rather with an extra script, like an update script for the proxy.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!