This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

mozilla.cfg giving error

  • 1 valiny
  • 1 manana an'ity olana ity
  • 5 views
  • Valiny farany nomen'i RoiDesRois

more options
Locking duplicate thread.
Please continue here: [/questions/886352]

I now have this as my config but get an error

   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 Pref to
* lockPref.
*/

//

lockPref("accessibility.browsewithcaret", false); //dont' use cursor keys to navigate within pages
defaultPref("accessibility.typeaheadfind", true); //Search for text when I start typing
defaultPref("accessibility.typeaheadfind.flashBar", 0); //don’t flash toolbar when text is found
lockPref("general.autoScroll", false); //don't use autoscrolling
lockPref("app.update.auto", false); //disable automatic update
lockPref("app.update.enabled", false); //disable updating Firefox
lockPref("browser.bookmarks.restore_default_bookmarks", false); //restore default firefox bookmarks
defaultPref("browser.cache.disk.capacity", 1048576); //cached settings
defaultPref("browser.cache.disk.smart_size.first_run", false); //cached settings
defaultPref("browser.cache.disk.smart_size_cached_value", 1048576); //cached settings
lockPref("browser.download.useDownloadDir", false); //don't use download directory-always ask
defaultPref("browser.download.manager.retention", 0); //remember downloads
lockPref("browser.feeds.showFirstRunUI", false); //disable initial RSS intro
defaultPref("browser.formfill.enable", true); //don't remember forms and search bar
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
lockPref("browser.link.open_external", 1); // open pages in new tab
lockPref("browser.link.open_newwindow", 1); // open pages in new tab
lockPref("browser.places.importBookmarksHTML", false); //don't import bookmarks
lockPref("browser.places.importDefaults", false); //don't import other default settings
lockPref("browser.rights.3.shown", true); //don't show copyright notice
defaultPref("browser.search.suggest.enabled", true); //disable search suggestions
lockPref("browser.shell.checkDefaultBrowser", false); //disable default browser check
lockPref("browser.startup.page", 1); //show homepage at startup
lockPref("browser.startup.homepage", "http://intranet.domain.com"); //home page URL
pref("browser.tabs.autoHide", false); //always show tab bar
defaultPref("browser.tabs.insertRelatedAfterCurrent", false); //load new tabs last
defaultPref("browser.tabs.loadBookmarksInBackground", true); //new tabs in background
defaultPref("browser.tabs.warnOnClose", false); //Warn when closing multiple tabs
defaultPref("browser.tabs.warnOnOpen", false); //don't warn on opening multiple tabs
lockPref("browser.taskbar.previews.enable", true); //enable taskbar previews
defaultPref("browser.urlbar.autoFill", true); //enable URL autocomplete
lockPref("config.lockdown.disable_themes", true); //disable themes
lockPref("general.smoothScroll", true); //Use smooth scrolling
lockPref("general.warnOnAboutConfig", true); //display warning prompt
defaultPref("layout.spellcheckDefault", 1); //Check my spelling as I type
lockPref("mozilla.widget.raise-on-setfocus"); //disable focus stealing
defaultPref("mozilla.widget.raise-on-setfocus", false); //don't focus new tabs
lockPref("network.automatic-ntlm-auth.trusted-uris", "proxy,domain"); //sites that are allowed to automatically authenticate via NTLM lockPref("network.cookie.lifetimePolicy", 2); //keep cookies until I close Firefox
lockPref("network.cookie.prefsMigrated", true); //don't prompt to migrate cookies
lockPref("network.negotiate-auth.delegation-uris", "proxy");
lockPref("network.negotiate-auth.trusted-uris", "proxy"); //sites that are permitted to engage in SPNEGO authentication with the browser defaultPref("network.http.max-connections-per-server", 32); //sites for which the browser may delegate user authorization to the server defaultPref("network.http.pipelining", true); //enable HTTP pipelining
defaultPref("network.http.pipelining.maxrequests", 7); //max http requests
defaultPref("network.http.pipelining.ssl", true); //always enable HTTPS pipelining
defaultPref("network.http.proxy.pipelining", true); //enable HTTP pipelining
pref("network.proxy.type", 4); //auto-detect proxy settings
lockPref("pref.privacy.disable_button.view_passwords", true); //Disable the Show Passwords Button
lockPref("privacy.donottrackheader.enabled", true); //no targeted ads
lockPref("privacy.item.formdata", true); //clear saved form data
lockPref("privacy.item.offlineApps", true); //clear offline apps data
lockPref("security.enable_ssl3", true); //Use SSL 3.0
lockPref("security.enable_tls", true); //Use TLS 1.0
defaultPref("security.warn_entering_weak", false); //warn when about to view a page that uses low-grade encryption
defaultPref("security.warn_viewing_mixed", true); //warn when about to view an encrypted page that contains some unencrypted information
defaultPref("security.warn_entering_secure", false); //warn when about to view an encrypted page
defaultPref("security.warn_leaving_secure", true); //warn when leave an encrypted page for one that isn't
defaultPref("security.warn_submit_insecure", true); //warn when submit information that's not encrypted
lockPref("signon.rememberSignons", false); //don't remember passwords
lockPref("toolkit.telemetry.prompted", false); //don't show send info to mozilla prompt
defaultPref("view_source.wrap_long_lines", true); //enable line wrapping
lockPref("xpinstall.whitelist.required", true); //Warn when sites try to install add-ons
<blockquote>Locking duplicate thread.<br> Please continue here: [[/questions/886352]]</blockquote> I now have this as my config but get an error Mozilla Global Preferences <pre><nowiki>/* 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 Pref to * lockPref. */ // lockPref("accessibility.browsewithcaret", false); //dont' use cursor keys to navigate within pages defaultPref("accessibility.typeaheadfind", true); //Search for text when I start typing defaultPref("accessibility.typeaheadfind.flashBar", 0); //don’t flash toolbar when text is found lockPref("general.autoScroll", false); //don't use autoscrolling lockPref("app.update.auto", false); //disable automatic update lockPref("app.update.enabled", false); //disable updating Firefox lockPref("browser.bookmarks.restore_default_bookmarks", false); //restore default firefox bookmarks defaultPref("browser.cache.disk.capacity", 1048576); //cached settings defaultPref("browser.cache.disk.smart_size.first_run", false); //cached settings defaultPref("browser.cache.disk.smart_size_cached_value", 1048576); //cached settings lockPref("browser.download.useDownloadDir", false); //don't use download directory-always ask defaultPref("browser.download.manager.retention", 0); //remember downloads lockPref("browser.feeds.showFirstRunUI", false); //disable initial RSS intro defaultPref("browser.formfill.enable", true); //don't remember forms and search bar 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 lockPref("browser.link.open_external", 1); // open pages in new tab lockPref("browser.link.open_newwindow", 1); // open pages in new tab lockPref("browser.places.importBookmarksHTML", false); //don't import bookmarks lockPref("browser.places.importDefaults", false); //don't import other default settings lockPref("browser.rights.3.shown", true); //don't show copyright notice defaultPref("browser.search.suggest.enabled", true); //disable search suggestions lockPref("browser.shell.checkDefaultBrowser", false); //disable default browser check lockPref("browser.startup.page", 1); //show homepage at startup lockPref("browser.startup.homepage", "http://intranet.domain.com"); //home page URL pref("browser.tabs.autoHide", false); //always show tab bar defaultPref("browser.tabs.insertRelatedAfterCurrent", false); //load new tabs last defaultPref("browser.tabs.loadBookmarksInBackground", true); //new tabs in background defaultPref("browser.tabs.warnOnClose", false); //Warn when closing multiple tabs defaultPref("browser.tabs.warnOnOpen", false); //don't warn on opening multiple tabs lockPref("browser.taskbar.previews.enable", true); //enable taskbar previews defaultPref("browser.urlbar.autoFill", true); //enable URL autocomplete lockPref("config.lockdown.disable_themes", true); //disable themes lockPref("general.smoothScroll", true); //Use smooth scrolling lockPref("general.warnOnAboutConfig", true); //display warning prompt defaultPref("layout.spellcheckDefault", 1); //Check my spelling as I type lockPref("mozilla.widget.raise-on-setfocus"); //disable focus stealing defaultPref("mozilla.widget.raise-on-setfocus", false); //don't focus new tabs lockPref("network.automatic-ntlm-auth.trusted-uris", "proxy,domain"); //sites that are allowed to automatically authenticate via NTLM lockPref("network.cookie.lifetimePolicy", 2); //keep cookies until I close Firefox lockPref("network.cookie.prefsMigrated", true); //don't prompt to migrate cookies lockPref("network.negotiate-auth.delegation-uris", "proxy"); lockPref("network.negotiate-auth.trusted-uris", "proxy"); //sites that are permitted to engage in SPNEGO authentication with the browser defaultPref("network.http.max-connections-per-server", 32); //sites for which the browser may delegate user authorization to the server defaultPref("network.http.pipelining", true); //enable HTTP pipelining defaultPref("network.http.pipelining.maxrequests", 7); //max http requests defaultPref("network.http.pipelining.ssl", true); //always enable HTTPS pipelining defaultPref("network.http.proxy.pipelining", true); //enable HTTP pipelining pref("network.proxy.type", 4); //auto-detect proxy settings lockPref("pref.privacy.disable_button.view_passwords", true); //Disable the Show Passwords Button lockPref("privacy.donottrackheader.enabled", true); //no targeted ads lockPref("privacy.item.formdata", true); //clear saved form data lockPref("privacy.item.offlineApps", true); //clear offline apps data lockPref("security.enable_ssl3", true); //Use SSL 3.0 lockPref("security.enable_tls", true); //Use TLS 1.0 defaultPref("security.warn_entering_weak", false); //warn when about to view a page that uses low-grade encryption defaultPref("security.warn_viewing_mixed", true); //warn when about to view an encrypted page that contains some unencrypted information defaultPref("security.warn_entering_secure", false); //warn when about to view an encrypted page defaultPref("security.warn_leaving_secure", true); //warn when leave an encrypted page for one that isn't defaultPref("security.warn_submit_insecure", true); //warn when submit information that's not encrypted lockPref("signon.rememberSignons", false); //don't remember passwords lockPref("toolkit.telemetry.prompted", false); //don't show send info to mozilla prompt defaultPref("view_source.wrap_long_lines", true); //enable line wrapping lockPref("xpinstall.whitelist.required", true); //Warn when sites try to install add-ons</nowiki></pre>

Novain'i cor-el t@

All Replies (1)

more options

Attached error message.