entries in mozilla.cfg do not populate in firefoix (version 41)

Attempt to lock some settings in Firefox 41.0, which must be deployed to about 100 machines
I have a file Local - settings.js in the Default\Pref folder that has the following text:
Pref ("general.config.filename", "mozilla.cfg");

And the file mozilla.cfg corresponding to the Mozilla Firefox folder (with firefox.exe) has the following entries:
//
lockPref ("network.automatic - ntlm - auth.trusted - URIS","http://support.seddons.co.uk" ");
lockPref ("network.proxy.autoconfig_url","http://spsukman01.sedsol.net/seddons.pac" ");

When I run Firefox and go to about: config these entries have not been met. I can manually update the entries of subject: config and they do the job, but I need to do this for multiple machines, so if this isn't the best method if I understand that the route of the GPO is not reliable.
Thank you very much
BH

Do any other entries in the file mozilla.cfg work?

Put a local file - settings.js in the folder defaults\pref also the file prefs.js - channel where to specify using mozilla.cfg.
Try this content in the file:

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

Tags: Firefox

Similar Questions

  • How to hide the button "Start a conversation" using mozilla.cfg

    Hello

    I've just updated to FF 41.02 and my mozilla.cfg does not hide the smiley face icon (start a conversation). Anyone know how I can do this?

    Here's the line I use for my mozilla.cfg to show/hide icons

    lockPref("browser.uiCustomization.state", "{"placements":{"PanelUI-contents":["edit-controls","downloads-button","new-window-button","privatebrowsing-button","zoom-controls","developer-button","fullscreen-button","preferences-button","history-panelmenu","save-page-button","find-button","add-ons-button","loop-button"],"addon-bar":["addonbar-closebutton","status-bar"],"PersonalToolbar":[],"nav-bar":["urlbar-container","search-container","print-button","home-button"],"TabsToolbar":["tabbrowser-tabs","new-tab-button","alltabs-button"],"toolbar-menubar":["menubar-items"]},"seen":[],"dirtyAreaCache":["PersonalToolbar","nav-bar","TabsToolbar","toolbar-menubar","PanelUI-contents"],"currentVersion":4,"newElementCount":0}");

    Thank you

    Hello

    I managed to get out.

    lockPref ("loop.enabled", false);

  • Mozilla.cfg not applied in Firefox 4

    I'm trying to get some settings configured and locked using mozilla.cfg. We used this exact method in Firefox 3.x, but for some reason it's ignorant mozilla.cfg.

    Here's my mozilla.cfg

    //
    try {
    lockPref("app.update.enabled", false);
    lockPref("app.update.autoUpdateEnabled", false);
    lockPref("extensions.update.enabled", true);
    lockPref("extensions.update.autoUpdateEnabled", true);
    lockPref("network.automatic-ntlm-auth.trusted-uris", "shpt1-ed1, sharepoint");
    lockPref("network.cookie.alwaysAcceptSessionCookies", true);
    lockPref("network.cookie.cookieBehavior", 1);
    } catch(e) {
    displayError("lockedPref", e);
    }

    and the appropriate lines all.js

    pref("general.config.obscure_value", 0); // for MCD .cfg files
    pref("general.config.filename", "mozilla.cfg");
    

    You can place a js file (local - settings.js) in the folder defaults\pref in the Firefox program folder. Firefox 4 is no longer uses all.js, but packs all the files in one archive special compressed omni.jar (optimized) and it is best not to edit this file.

    See http://kb.mozillazine.org/Locking_preferences

  • How can I get the seeds a server certificate or a certificate using mozilla.cfg exception

    I work with mozilla.cfg and I would create a security certificate exception. I have the following functional

    UNIQUE Set authentication settings
    Pref ("network.automatic - ntlm - auth.trusted - URIS","fake.com" ");
    Pref ("network.negotiate - auth.trusted - URIS","sso.fake.com" ");
    Pref ("network.negotiate - auth.delegation - URI","sso.fake.com" ");
    Pref ("network.automatic - ntlm - auth.allow - no - name FQDN", "true");

    Whitelist domain Set
    Pref ("browser.fixup.domainwhitelist.fakecorp.com", "true");
    Pref ("browser.fixup.domainwhitelist.fakeassociate.com", "true");
    Pref ("browser.fixup.domainwhitelist.fake.com", "true");

    However, there is a server jump during the UNIQUE authentication process which is forcing me to make an exception of the certificate security.

    Bottom line, I'm looking for a way to preconfigure this exception using the mozilla.cfg method

    Details of the environment:
    Enterprise Active Directory offering the 'autoconfig.js' & 'mozilla.cfg.
    mainly of Windows 7
    Firefox 38.01 & 38.05

    I'm not aware of a way to manage the certificate via mozilla.cfg exception.

    Normally, you use the certutil application.

  • User is unable to change the home page when I put one in default mozilla.cfg

    I have this in mozilla.cfg:
    Pref ("browser.startup.homepage", "http://internal.intranet.tld");

    That of our intranet as a default home page. But it is not locked (I don't use lockPref()), so I want to allow a user to change the home page if he wants.

    But it does not work. Change the home page is not saved.

    Hi ohmer, you must use defaultPref() for the parameters that users should be able to change and have full control over - pref() allows to deviate from the default for the current session...

  • How to change Mozilla.cfg to set google as default search engine

    Need help with our setting mozilla.cfg file to change the default to yahoo search engine to google.
    Browser.search.defaultenginename in comments: config already has the default value of 'google', so doesn't justing adding this line of modzilla.cfg - ' pref ("browser.search.defaultenginename", "google", as its currently by default.)

    I noticed that if I manually change the search provider (thru the interface), then this value changes from 'default' to 'user set', which retains google as the default search engine. So how do I either set this value as 'user set' within mozilla.cfg, or use some alternative?
    

    thxs

    You can restore the change in Google Yahoo search engine in the Firefox 34.0.5 by enabling / disabling browser.search.isUS to false.
    Note that only 34.0.5 replaces the default search by Yahoo! engine.

    //
    lockPref("browser.search.isUS", false);

    See also these prefs:

  • How to mozilla.cfg, override.ini, all - companyname.js, work once and for all for all users files

    I'm trying to apply a patch for the browser firefox (version 23.0.1) on more than 250 computers. Setting default Web pages, disable the annoying guests as the default browser and import bookmarks and deleting history on shutdown or startup. It is very easily done editing the pref.js file, but I will not change this file, it is out of the question. Another update of FF will erase or overwrite all my changes.

    I run a computer lab at the University which is locked with a Net Support School console. You don't need to find out who. Virtually all Web sites are limited except those ones I list white. The Web sites we use have an extensive API for JS, CSS, Java, PHP, etc... We use technology so that students use calculators graphics, video, and the module test socket of the Whitelist, as Pearson or Aleks sites. Now, with that said, cookies and stored profile history become a problem, and on up to day 25% of students using computers need history deleted for a loading page. I think I solved this problem permanently by whitelist backend sites import plugins and API etc, I found the console developers. No matter what. What I learned from all this, is that Firefox can be very customizable, using the '...\Mozilla Firefox\mozilla.cfg' and '...\Mozilla Firefox\defaults\prefs\all-companyname.js' (or custom.js) the problem is little matter what I try I can't seem to work. Was the closest I have got here:

    http://www.intrntpirate.com/?p=615

    Here again, even that ^^ did not work. I followed these instructions to a "T". What is the problem with the explanations above in the link? Why firefox doing harder and harder for us to optimize it for massive deployments through a company and a University? I won't do any fancy hacks to avoid the main problem. I need mozilla.cfg and all - companyname.js and override.ini files to work, if and only if they are still topical.

    Here's what my files look like so far:

    name: all - lmc.js

    location: C:\Program Files (x 86) \Mozilla Firefox\defaults\pref\

    Pref ("general.config.filename", "mozilla.cfg");

    Pref ("browser.startup.homepage", "https://(some url)");

    name: override.ini

    location: C:\Program Files (x 86) \Mozilla Firefox\

    [XRE]

    EnableProfileMigrator = false



    name: mozilla.cfg

    location: C:\Program Files (x 86) \Mozilla Firefox\

    //

    lockPref ("privacy.sanitize.sanitizeOnShutdown", true);

    lockPref ("privacy.sanitize.promptOnSanitize", false);

    lockPref ("browser.shell.checkDefaultBrowser", false);

    lockPref ("toolkit.telemetry.enabled", false);

    lockPref ("toolkit.telemetry.prompted", 2);

    lockPref ("toolkit.telemetry.rejected", true);

    I tried using it or not, the Configurator automatic mozilla. I tried to change lockPref pref. Nothing works. Not the override.ini, not at all - lmc.js and not the mozilla.cfg. I lost hours of reading through the blogs of experts telling us to change files that do not exist, or beat around the Bush. I did the search. If you have the answer, or you want to help me understand this just remember to keep it simple. Please, I beg you. In the end, I want to pack all the config files, with one how, in a zip on our shared drive folder. To have FF on measure and ready to deploy on different services on the campus.

    Error console warnings are OK.

    The general.config.obscure_value pref is set to the default of 0?

    You can try to save these versions of the files (open in a Firefox tab and save via Save Page As)

    I don't know if all these prefs are still supported in the current version of Firefox.

    local - settings.js

    data:text/plain;charset=utf-8;base64,cHJlZigiZ2VuZXJhbC5jb25maWcuZmlsZW5hbWUiLCAibW96aWxsYS5jZmciKTsKcHJlZigiZ2VuZXJhbC5jb25maWcub2JzY3VyZV92YWx1ZSIsIDApOwo=
    

    Mozilla.cfg

    data:text/plain;charset=utf-8;base64,Ly8KcHJlZigicHJpdmFjeS5zYW5pdGl6ZS5zYW5pdGl6ZU9uU2h1dGRvd24iLCB0cnVlKTsKcHJlZigicHJpdmFjeS5zYW5pdGl6ZS5wcm9tcHRPblNhbml0aXplIiwgZmFsc2UpOwpwcmVmKCJicm93c2VyLnJpZ2h0cy5vdmVycmlkZSIsIHRydWUpOwpwcmVmKCJhcHAudXBkYXRlLmF1dG8iLCBmYWxzZSk7CnByZWYoImV4dGVuc2lvbnMuYmxvY2tsaXN0LmVuYWJsZWQiLCBmYWxzZSk7CnByZWYoImV4dGVuc2lvbnMuc2hvd25TZWxlY3Rpb25VSSIsIHRydWUpOwpwcmVmKCJicm93c2VyLnNoZWxsLmNoZWNrRGVmYXVsdEJyb3dzZXIiLCBmYWxzZSk7CnByZWYoInRvb2xraXQudGVsZW1ldHJ5LmVuYWJsZWQiLCBmYWxzZSk7CnByZWYoInRvb2xraXQudGVsZW1ldHJ5LnByb21wdGVkIiwgMik7CnByZWYoInRvb2xraXQudGVsZW1ldHJ5LnJlamVjdGVkIiwgdHJ1ZSk7CnByZWYoImFwcC51cGRhdGUuYXV0byIsIGZhbHNlKTsKcHJlZigiYnJvd3Nlci5kb3dubG9hZC51c2VEb3dubG9hZERpciIsIHRydWUpOwpwcmVmKCJicm93c2VyLnNlYXJjaC51cGRhdGUiLCBmYWxzZSk7CnByZWYoInNpZ25vbi5hdXRvZmlsbEZvcm1zIiwgZmFsc2UpOwpwcmVmKCJzaWdub24ucmVtZW1iZXJTaWdub25zIiwgZmFsc2UpOwpwcmVmKCJicm93c2VyLmRvd25sb2FkLm1hbmFnZXIuc2NhbldoZW5Eb25lIiwgdHJ1ZSk7CnByZWYoImJyb3dzZXIuZm9ybWZpbGwuZW5hYmxlIiwgZmFsc2UpOwpwcmVmKCJ4cGluc3RhbGwuZW5hYmxlZCIsIHRydWUpOwo=
  • get this message at the startup of Firefox 5.0: entry procedure CERT_FindSubjectKeyIDExtension point could not be located in the dynamic link library nss3.dll

    get this message at the startup of Firefox 5.0: entry procedure CERT_FindSubjectKeyIDExtension point could not be located in the dynamic link library nss3.dll

    Hello

    You can try to install the latest version on the current: https://www.mozilla.org/en-US/firefox/new/

  • What happened to mozilla.cfg?

    The last SMS package that I created for Firefox was 6.0.2, so my apologies if this is old news. What I understand replaced user.js mozilla.cfg? What lockpref, is an equivalence? I'm also a bit puzzled as to how we're supposed to use "browser.startup.homepage_override.mstone" or "browser.shell.checkDefaultBrowser" in user.js when the location there assume that it does not exist until the application is run. Am I missing something?

    See also:

    Use a mozilla.cfg file in the Firefox program folder to lock the prefs or specify default values.

    Place a local file - settings.js in the defaults\pref folder where you will also find the channel - prefs.js to specify using mozilla.cfg file.

    pref("general.config.filename", "mozilla.cfg");
    pref("general.config.obscure_value", 0); // use this to disable the byte-shift
    

    You can use these functions in mozilla.cfg:

    defaultPref();  // set new default value
    pref();         // set pref, but allow changes in current session
    lockPref();     // lock pref, disallow changes
    
  • Via mozilla.cfg proxy settings

    Thus, it is my first foray in the world of config files and such so patient with me if I'm doing something completely wrong.

    I'm writing a mozilla.cfg file which will force the auto proxy detection. I used lockPref ("network.proxy.type", 4), but I get an error 'Unable to read configuration file' at the launch of ff8. When I take this line out (I have a few other settings there), it seems to work ok. What I'm doing wrong here?

    Also, incidentally, are there any settings that I can add to this file that removes the prompt about firefox is not the default browser?

    Can you post the entire content of the text file mozilla.cfg?

    Do you use a ROT13 byte offset?

    See also:

  • Up to version 6.22 of entry and other components HTML texts have been with a width. Now, after installing version 7. The entries have increased in size not more about before defined sizes... You can fix this?

    Up to version 6.22 of entry and other components HTML texts have been with a width. Now, after installing version 7. The entries have increased in size not more about before defined sizes... You can fix this?

    I think it's about the size, just differently than before. See the discussion in:
    https://Bugzilla.Mozilla.org/show_bug.cgi?id=691157

  • Configuration of Firefox to Citrix using Mozilla.cfg

    We will publish Firefox via Citrix that works properly. We want to define a few parameters that are locked and some that are defined as initial preferences. When you create the mozilla.cfg with minimal settings that are locked, everything works fine. When you use additional parameters that are not locked, we get the error "unable to read the configuration file. We have tried to remove some of the settings to do is as simple as possible and still get the message.

    Cfg to work

    # Mozilla Global Preferences
    
    /* This file is to set and lock default preferences.
     *
     * Locate the settings in the prefs.js you want to make global and
     * copy them here. To lock the setting change the user_Pref to
     * lockPref.
     */
    
    //
    
    lockPref("browser.startup.homepage", "http://intranet.domain.com");
    lockPref("network.automatic-ntlm-auth.trusted-uris", "proxy,domain");
    lockPref("network.negotiate-auth.delegation-uris", "proxy");
    lockPref("network.negotiate-auth.trusted-uris", "proxy");
    

    Desired cfg

    # Mozilla Global Preferences
    
    /* This file is to set and lock default preferences.
     *
     * Locate the settings in the prefs.js you want to make global and
     * copy them here. To lock the setting change the user_Pref to
     * lockPref.
     */
    
    //
    
    user_Pref("accessibility.typeaheadfind.flashBar", 0);
    lockPref("app.update.auto", false); //disable automatic update
    lockPref("app.update.enabled", false); //disable updating Firefox
    lockPref("browser.bookmarks.restore_default_bookmarks", false);
    user_Pref("browser.cache.disk.capacity", 1048576);
    user_Pref("browser.cache.disk.smart_size.first_run", false);
    user_Pref("browser.cache.disk.smart_size_cached_value", 1048576);
    user_Pref("browser.download.useDownloadDir", false);
    lockPref("browser.feeds.showFirstRunUI", false); //disable initial RSS intro
    lockPref("browser.fullscreen.autohide", false); //always show URL and tab bar
    lockPref("browser.history_expire_days", 30); //clear history after 30 days
    lockPref("browser.history_expire_days_min", 30); //minimum 30 days to keep history
    user_Pref("browser.places.importBookmarksHTML", false);
    user_Pref("browser.places.importDefaults", false);
    lockPref("browser.rights.3.shown", true);
    user_Pref("browser.search.suggest.enabled", true); //disable search suggestions
    lockPref("browser.shell.checkDefaultBrowser", false); //disable default browser check
    user_Pref("browser.startup.page", 1);
    lockPref("browser.startup.homepage", "http://intranet.domain.com");
    user_Pref("browser.tabs.autoHide", false); //always show tab bar
    user_Pref("browser.tabs.insertRelatedAfterCurrent", false); //load new tabs last
    user_Pref("browser.tabs.loadBookmarksInBackground", true); //new tabs in backg.
    user_Pref("browser.tabs.warnOnOpen", false); //don't warn on opening mult. tabs
    lockPref("browser.taskbar.previews.enable", true);
    user_Pref("browser.urlbar.autoFill", true); //enable URL autocomplete
    lockPref("general.smoothScroll", true);
    lockPref("general.warnOnAboutConfig", true); //display warning prompt
    user_Pref("mozilla.widget.raise-on-setfocus"); //disable focus stealing
    user_Pref("mozilla.widget.raise-on-setfocus", false); //don't focus new tabs
    lockPref("network.automatic-ntlm-auth.trusted-uris", "proxy,domain");
    lockPref("network.cookie.lifetimePolicy", 2);
    lockPref("network.cookie.prefsMigrated", true);
    lockPref("network.negotiate-auth.delegation-uris", "proxy");
    lockPref("network.negotiate-auth.trusted-uris", "proxy");
    user_Pref("network.http.max-connections-per-server", 32);
    user_Pref("network.http.pipelining", true); //enable HTTP pipelining
    user_Pref("network.http.pipelining.maxrequests", 7);
    user_Pref("network.http.pipelining.ssl", true); //always enable HTTPS pipelining
    user_Pref("network.http.proxy.pipelining", true); //enable HTTP pipelining
    lockPref("network.proxy.type", 4);
    user_Pref("privacy.donottrackheader.enabled", true);
    lockPref("privacy.item.formdata", true); //clear saved form data
    lockPref("privacy.item.offlineApps", true); //clear offline apps data
    user_Pref("privacy.sanitize.migrateFx3Prefs", true);
    user_Pref("security.warn_viewing_mixed", true);
    user_Pref("security.warn_entering_secure", false);
    user_Pref("security.warn_leaving_secure", true);
    user_Pref("security.warn_submit_insecure", true);
    lockPref("signon.rememberSignons", false);
    lockPref("toolkit.telemetry.prompted", false);
    user_Pref("view_source.wrap_long_lines", true); //enable line wrapping
    

    The defaultPref() function applies if it is not a user setting (it changes only the current default value), but has no effect if the user has already changed the default value.
    Pref function is always issued if you start a new session, but the user can replace for this single session and changes are lost.
    Prefs that are locked through lockPref() can not be changed at all.

  • No effect of mozilla.cfg

    Hi all

    I am trying to create a new package for SCCM deployment using Firefox 50.0. Unfortunately the .cfg file do not seem to work. My goal is to disable the automatic update feature which works fine manually via the subject: config.

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

    Mozilla.cfg: //disable application updates Pref ("app.update.enabled", false); Pref ("app.update.auto", false);

    As I read the .cfg is not tolerated error, but it does not work: (for example: pref ("browser.startup.homepage","http://www.google.com'); also does not work.)

    Any advice?

    Thank you in advance!

    Hello to you :-)

    Make sure you also have the second line:

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

    Thank you

  • Custom Mozilla.cfg of the file no longer works after upgrade to v38.01

    I created a custom mozilla.cfg file which contains three main sections.
    First section locks several preferences.
    The second section modifies the chrome - cache the Orange button and add the menu bar.
    Section three adds a folder of bookmarks and links specific to our Organization.

    I also modified the local file - settings.js so that it points to my cfg file:
    Pref ("general.config.filename", "mozilla.cfg");
    Pref ("general.config.obscure_value", 0); This allows to deactivate the byte-shift

    After the v38.01, Firefox opens. He appears briefly in the Task Manager and goes. I started some tests and found that, if I comment out the line "pref ("general.config.obscure_value", 0);" in the local file - settings.js, FF opens but none of the settings I've specified are applied.
    I'm stuck because I have no idea what could be the problem. The allowed syntax has changed? The structure of the files has changed?
    I can post the cfg file if necessary.

    Thank you.

    Yes. This feature has disappeared.

  • Mozilla firefox does not display a Notepad ++ web programming

    Mozilla firefox does not display a notepad ++ web page programming and connect not css files. Currntly of programs using CSS + html5.

    What is happening with the files that you have uploaded on the internet or with files saved locally on your computer?

    Make sure that the HTML file has a .html file extension.

    If the file has been uploaded to internet so could you give a link?

Maybe you are looking for

  • is it possible to activate auto scroll on default linux all the time forever?

    I move from linux to windows many times. So I created a profile shared to firefox. now the only problem im trying all the time is I want to check auto-scrolling all the time when I get back into linux. so is it possible to make this setting activate

  • Upgrading 3.6.7 - changed with the scroll arrows.

    My arrows no longer function normally, but seem to have a new attribution of action. I would like to return to the default operation of these keys. I can't find any Info for that.(using XP and the new Firefox 3.6.7)

  • How to upgrade my motherboard?

    I am completely new to the game on PC and recently have an incredibly heinous error which I think is related to my motherboard. I'm not sure exactly how to... I have an Asus CM5675

  • Error 800B010D with Windows updates

    WHEN I TRY TO INSTALL MY WINDOWS UPDATES, I GET AN ERROR CODE ON ONE OF THEM.  THE ERROR CODE IS 800B010D.  HOW CAN I SOLVE THIS PROBLEM? * Title *.Can I UPDATER PROBLEM

  • viWaitOnEvent timeout?

    I have a simple application (LV2009, VISA 4.6.2) to communicate with the devices using a GPIB-USB-HS. When it is run in the development environment, that no error is generated, but in the exe that I can see spy a lot viWaitOnEvent timeout error. In J