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.

Tags: Firefox

Similar Questions

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

  • 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

  • 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);
    
  • 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
    
  • I use my site, but I can't connect to using mozilla firefox, my password is correct. I also tried to restart and reinstall also, but does not work.

    Using my site, but I cannot connect using mozilla firefox.

    Clear the cache and cookies only from Web sites that are causing problems.

    "Clear the Cache":

    • Firefox/tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox/tools > Options > privacy > Cookies: "show the Cookies".

    If clearing cookies doesn't work, then it is possible that the cookies.sqlite file that stores the cookies is corrupted.

    Rename (or delete) cookies.sqlite (cookies.sqlite.old) and delete the other files of cookies as cookies.sqlite - journal in the profile folder of Firefox in the case where the cookies.sqlite file has been corrupted.

  • cut and paste not when using MOZILLA FIREFOX

    When I try to do a CUT & PASTE of a website using Mozilla Firefox as my browser, the cfut and paste facility is denied.
    How to fix this problem.

    Firefox is not a Microsoft application.  You should ask a forum of Firefox like http://support.mozilla.com/en-US/questions

  • I disabled my own cookies and now I can't help? Windows XP and I use Mozilla Firefox?

    (Inadvertently), I disabled the cookies on my computer. Now I can't get to my Hotmail e-mail account. I went by the "tools/options/life exercise private and whatever he says 'enabled' (everything is checked).» I even restarted my computer, but nothing works. I use Windows XP and like it. I use Mozilla Firefox most of the time, but sometimes I use Windows Explorer. What should I do?

    Hi nancybaird

     

    Because the problem is with Windows Live Hotmail, I would recommend checking resources specific to Microsoft Windows Live. Please visit the links below to find a community that will provide the support ask you in the right direction for Windows Hotmail related issues.

    http://windowslivehelp.com/forums.aspx?ProductID=1

     

    I hope this helps.

  • If you type begins to appear slowly, especially when I use Mozilla Firefox.

    Original title: can someone help me with my typing on Windows, I saw that I type somehow a second slowly, especially when I use Mozilla Firefox. Need your urgent help.

    The problem started over a period of two months. I realize that my typing begins to appear slowly. I don't know if it is a mistake to system, or the need for an update, but my keyboard has been updated yesterday in full form, but my typing is still slow, even as I type for everyone right now. [Please help:]

    Hello

    1 does happen with any application other then Mozilla Firefox?

    2 have you made any changes to the computer before the show?

    Method 1: See the following article:

    Optimize Windows 7 for better performance:

    http://Windows.Microsoft.com/is-is/Windows7/optimize-Windows-7-for-better-performance

     

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

     

    Method 2: A clean boot to test if any element of service or third party application startup is causing this issue.

    Reference: How to solve a problem by performing a clean boot in Windows Vista or Windows 7:

    http://support.Microsoft.com/kb/929135

    Note: When you're done to diagnose, follow step 7 article to start on normal startup.

     

     

    For problems with Mozilla Firefox, you can post the question here:

    http://support.Mozilla.org/en-us/products/Firefox

  • How can I remove huge ad by be cut when using Mozilla Firefox.

    I can't locate the source of the file anywhere.

    Next to your mail, under the Question details > more details of the system, I think that the culprit is listed there among your Extensions. Some of the others may also be a problem.

    For completeness, here's my method to track down and clean up bad Add - ons and other ad injectors. I know it seems long, but it's not so bad.

    (1) open the Control Panel, uninstall a program. After the loading of the list, click on the column heading "installed on" to group infections, I mean additions by date. This can help the undisclosed items bundle smoker who snuck out with some software, you have agreed to install. Beware of everything that you don't recognize / remember, since malware often uses sounding names important or innocent to discourage you remove. Out as much garbage as possible here.

    (2) open Firefox page modules using either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons
    • in the Windows "Run" dialog box, type or paste
      firefox.exe "about:addons"

    In the left column, click on Plugins. Set essential and unrecognized plugins 'never enable '.

    In the left column, click Extensions. Then, in case of doubt, disable (or delete, if possible) not recognized and unwanted extensions.

    Often, a link will appear above at least an extension disabled to restart Firefox. You can complete your work on the tab and click one of the links in the last step.

    Any improvement?

    (3) you can search the rest of problems with scanning/cleaning tools listed in our technical support article: Troubleshooting Firefox problems caused by malware. These scanners on request are free and take a long time to run. If they end quickly, especially if they require the payment you have a serious infection. I suggest the specialty forums listed in the article in this case.

    Success?

  • 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=
  • Default configuration of Firefox

    Hello

    I want to configure firefox 14.0.1 with the default settings for all my users using a mozilla.cfg file
    But the defaultPref () command is not valid. I use pref () but then the user cannot change settings

    Thunderbird 14.0, I have no problem with the defautPref () command can be used

    Why?

    Thank you


  • 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:

  • I lost most of yesterday 04/02/15 attempts to connect without success which was 1st using Mozilla for years, what is happening with this?

    From morning to evening I tried repeatedly to connect w/Mozilla Firefox nothing helps, the question wasn't w/my computer that I was able to connect to Internet Explorer. I used Mozilla years & this is the 1st time I was not able to connect at all, sometimes it may take longer than others, but nothing like this. Today luckily I have not had any problems. I am located in Scottsdale AZ if that makes a difference & use Windows 7 starter on an ASUS eeepc 1001 netbook. Also is there a support phone number in case it happens again and am unable to access the web support?

    Type of topic: preferences #advanced< enter > in the address bar.

    Under Advanced, select network.
    Search for configure how Firefox connects and then press the settings button.
    Check the settings.

    Some problems occurs when your Internet security program has been implemented.
    trust the previous version of Firefox, but not more acknowledges your
    update as being approved. Now how do I solve the problem: to allow
    Firefox to connect to the Internet

    • Make sure your Internet security software is up-to-date (for example, you are using the latest version).
    • Delete Firefox to list your program of programs approved or recognized. For detailed instructions, see

    Configure the firewall so that Firefox can access the Internet. {web link}

Maybe you are looking for

  • GTX 980 and no splash screen

    I have a ti GTX 980 flashed running in a Mac Pro(on external power) 2010. It shows only a splash screen, however, so I attach a No 4 k monitor DVI port. Monitors Dell P2415Q 4 k (except for a random time) show no video until the initialization is com

  • Vision of the E1 AMD(1000-1b04AU): Wifi does not

    Hello! I am not able to find the drivers for the following: -. (1) network controller Hardware ID - PCI\VEN_1814 & DEV_539B & SUBSYS_18ED103C & REV_00 2) PCI BUS Hardware ID - PCI\VEN_10EC & DEV_5229 & SUBSYS_188B103C & REV_01 SM Bus controller 3) Ha

  • Selection of headphones and Audio Hi-Res

    Depending on the setting of the sound, we can specify what model of Sony headphones that we use, but options are limited as below; General MDR-N31E / NC31EM MH1C MH410 MH750 MHEX300AP STH-30 There are no options for the frame high-end/balanced headph

  • Export/save Windows Live Calendar to import into the new Windows Live Calendar

    Hello I filled out my windows live calendar with events, now I don't like my e-mail name.  I created a new Windows Live ID, but can't figure out how to transfer my event calendar?  I could save & import my contacts without any problem, any advice? Th

  • Deleted too trying to kill a virus - now can't access .exe files.

    I was infected by a virus "Vista Antispyware" that blocked practically everything (cmd, taskmanager, all Web sites).  I got taskmgr opened with a Ctrl-alt-del and tracked the problem down to a file named gbj.exe, restarted and opened in the safe with