Home > Firefox Error > Firefox Error With Netscape.cfg

Firefox Error With Netscape.cfg

As I need to lockdown the config for the end-users, I created an autoconfig.js file and a mozilla.cfg file. These two preferences are the key to that. Content available under a Creative Commons license. From what I can tell the config file is loading, the home page has been reset and if I go to about:config the settings I am using all show up as navigate here

Reply Mike Kaply says: November 25, 2013 at 12:49 pm Preference locks don't persist across restarts of Firefox (at least they shouldn't). The owners of this site are compensated by relationships with the recommended software products. So now that you've told Firefox where to get the file and whether or not to obfuscate the file, it's time to create it. All the above actives may result in the deletion or corruption of the entries in the windows system files. https://support.mozilla.org/questions/1015224

Anyhow one of the other engineers at my work helped me find a workaround. no error is coming up but when i restart the firefox with this setting //this is great pref(‘browser.rights.3.shown’, true); pref(‘browser.startup.homepage’, ‘http://www.google.com’); nothing happens and when i checked the about:config file its I ran out of room in this post, so in our next post, we'll show some advanced techniques for autoconfig files including prompting, creating bookmarks and more. Content available under a Creative Commons license.

I'll need to look it over to remove any sensitive info first. channel-prefs.js //@line 2 "e:\builds\moz2_slave\rel-m-rel-w32-bld\build\browser\app\profile\channel-prefs.js" pref("app.update.channel", "release"); prefs.js user_pref("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.migration.version", 6); user_pref("browser.places.smartBookmarksVersion", 4); user_pref("browser.rights.3.shown", true); user_pref("browser.startup.homepage", "[corpwebsite]"); user_pref("browser.startup.homepage_override.buildID", "20120713134347"); user_pref("browser.startup.homepage_override.mstone", "14.0.1"); user_pref("browser.taskbar.lastgroupid", "E7CF176E110C211B"); user_pref("extensions.blocklist.pingCountVersion", 0); user_pref("extensions.bootstrappedAddons", "{}"); This new one is using CCK 1.4, though I'm not sure that would matter. What do you call someone who acts "cool-headed"?

pref(‘browser.rights.3.shown', true); pref(‘browser.startup.homepage', ‘http://www.grcs.org'); and then i restarted my firefox so its giving me this error Failed to read the configuration file. If you want to put your configuration on a server, you can specify the location like this in your config file: pref("autoadmin.global_config_url","http://yourdomain.com/autoconfigfile.js"); or lockPref("autoadmin.global_config_url","http://yourdomain.com/autoconfigfile.js"); The URL can be any protocol supported Can you post the content of the mozilla.cfg file? Otherwise you have to check this with the IT department or the people that provide support for this computer.

See "Basic Troubleshooting: Make a new profile": *https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Those are only meant as examples of function calls that you can use in the file and of course to make them work they would have to contain valid pref setting Thanks for your posts! defaultPref(); // set new default value pref(); // set pref, but allow changes in current session lockPref(); // lock pref, disallow changes lockPref("app.update.enabled", false); This is the mozilla.cfg file, I've tried

I managed to get my install files and default pref files across from the VM that worked. I know that defaultPref() works in FireFox as I use it for my default homepage. Reply Richard says: February 6, 2014 at 8:20 am Mike, I am new to the configuring Firefox and have manually hacked a config file with various locked preferences I then decided In cases where you don’t see things getting disabled in preferences, there are some "disable_button" preferences that when locked, disable buttons.

clearPref(prefName) - removes the user value of a preference, resetting it to its default value. check over here Please try the following forums for this kind of feedback, questions, or issues: Microsoft Answers: http://social.answers.microsoft.com/Forums/en-US/categories katmassage 9/14/2010 System sometimes restarts without warning and displays the following error codes BCCode: 1000000a If the preference autoadmin.failover_to_cached is set to false, Firefox reads the cached file and then marks the browser as offline and locks the preference so the user cannot go online. binary_path is the correct place.

If your file is being retrieved remotely, this doesn't matter. For instance, what if you wanted to remove history and bookmarks every time the browser started up? mozilla Ask a question Sign In English Search Home Support Forum Firefox AutoConfig Alert: ... http://hprank.net/firefox-error/firefox-error-202.html Cheers, Matt Reply Mike Kaply says: August 21, 2012 at 7:50 am Funnelcake is the result of a Mozilla test of CDNs (https://blog.mozilla.org/it/2012/08/03/dear-mozilla-mirrors-thank-you/).

Download the full Firefox installer and save the file to the desktophttps://www.mozilla.org/en-US/firefox/all/ If possible uninstall your current Firefox version to cleanup the Windows registry and settings in security software. The cfg is wrapped in a try and catch. http://kb.mozillazine.org/Profile_folder_-_Firefox http://kb.mozillazine.org/Profile_backup http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall This can be caused by a mozilla.cfg file in the Firefox program folder.

Error: pref failed: [Exception... "Component returned Any assistance would be helpfull.

I have a file called local-settings.js located here: C:\Program Files (x86)\Mozilla Firefox\defaults\pref It is configured as such (tried with and without the "//" blank line): // pref("general.config.filename", "firefox.cfg"); I have the This tool will scan and diagnose, then repairs, your PC with patent pending technology that fix your windows operating system registry structure. defaultPref(prefName, value) sets the default value of a preference. Is there a way to disable about:plugins in Firefox 14+?

It was my understanding that the ESR version did not do that. Try this inside of your autoconfig:
var observer = {
observe: function observe(subject, topic, data) {
// DO BOOKMARKS WORK HERE
}
}

Components.utils.import("resource://gre/modules/Services.jsm");
If there is a failure, you will just see the generic message: Failed to read the configuration file. weblink If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.

See "Basic Troubleshooting: Make a new profile": https://support.mozilla.org/kb/Basic+Troubleshooting#w_8-make-a-new-profile There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & So, from my experience, if you received a Firefox Error Netscape Cfg Autoconfig Failed Products message then there is a 95% chance that your computer has registry problems. The goal is to push these files down globally for all PC computers … so that anyone that logs in would get the profile. To keep that from coming up, you need to a different preference.

Is there a general problem with defaultPref() in Thunderbird or is the problem due to this one setting? Notify me of new posts by email. 14 thoughts on “Customizing Firefox - Autoconfig Files (Continued)” Anonymous says: March 20, 2012 at 1:00 pm It'd be really awesome if user.js could Content available under a Creative Commons license. Any Idea on how to make this message go away?

Would you be willing to send me the prefs.js file?