// Performance
// This will allow Firefox to maintain it GUI memory so that the browser window
// will snap right back after being minimized. This is fairly new and will be available
// in the very near future, might be in the 0.9.x builds, but it works in current Trunk/Brand builds
user_pref("config.trim_on_minimize", false);
// Specify the amount of memory cache:
// -1 = determine dynamically (default), 0 = none, n = memory capacity in kilobytes
// If you have the memory to spare, enabling this will run things a little smoother
user_pref("browser.cache.memory.capacity", 65536); // thus equal about 64 megs, drop down to less if you can't spare the RAM
// Remove painting delay when loading pages
user_pref("nglayout.initialpaint.delay", 0); // Default is 250
user_pref("content.notify.ontimer", true); // Turn on timer-based reflow management
user_pref("content.notify.interval", 100); // Sets the allowed time between reflows in microseconds
// Set the number of reflows to do before waiting for the rest of the page to arrive
user_pref("content.notify.backoffcount", 200);
// Other Tweaks
user_pref("content.max.tokenizing.time", 3000000); // New 8/25
user_pref("content.maxtextrun", 8191); // New 8/25
// Enable Improve pipelining:
user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.pipelining.firstrequest", true); // Default is false
user_pref("network.http.pipelining.maxrequests", 8 ); // Default is 4 - updated 9/18/2006
// Increase Multi-Threaded Downloading performance
user_pref("network.http.max-connections", 96); // Default is 24 Use this for modems
user_pref("network.http.max-connections-per-server", 32); // Default is 8 Use this for modems
user_pref("network.http.max-persistent-connections-per-proxy", 24); // Default is 4 Use this for modems
user_pref("network.http.max-persistent-connections-per-server", 12); // Default is 2 Use this for modems
// Other Tweaks
user_pref("network.dnsCacheExpiration", 86400); // Updated from 360 to 86400 - 9/22
user_pref("network.dnsCacheEntries", 256); // Updated from 100 to 256 - 9/22
user_pref("network.ftp.idleConnectionTimeout", 60); // New 8/25
user_pref("network.http.keep-alive.timeout", 30); // New 9/22
user_pref("ui.submenuDelay", 0); // New 8/25
user_pref("dom.disable_window_status_change", true); // New 9/22
// Shows an error page instead of an error popup dialog, have been using this for a long time now
// found this useful if you load multiple pages at the same the dialog box actually holds up the browser
// using this will allow the other pages/elements to load for the rest of the pages
user_pref("browser.xul.error_pages.enabled", true) // New 9/23
// Check for main Firefox application update every 7 days not every day
user_pref("app.update.interval", 604800) // Updated 9/18/2006
// Searching & Type Ahead
// Change to normal Google search:
user_pref("keyword.URL", "http://google.com/search?btnG=Google+Search&q=");
// Find As You Type Configuration:
// Set this pref to false to disable Find As You Type:
user_pref("accessibility.typeaheadfind", true);
// If you set this pref to true, typing can automatically start Find As You Type.
// If false (default), you must hit / (find text) or ' (find links) before your search.
user_pref("accessibility.typeaheadfind.autostart", true);
// Set this pref to false if you want Find As You Type to search normal text too:
user_pref("accessibility.typeaheadfind.linksonly", false);
// Set this pref to true if you require that the link starts with the entered text:
user_pref("accessibility.typeaheadfind.startlinksonly", false);
// This is the time in milliseconds for the Find As You Type to stop watching for keystrokes:
user_pref("accessibility.typeaheadfind.timeout", 3000);
// User Interface
// Enable Bookmark Icons (I love this feature)
user_pref("browser.chrome.site_icons", true);
user_pref("browser.chrome.favicons", true);
user_pref("browser.chrome.load_toolbar_icons", 2); // New 8/25
// Do not Reuse Active Mozilla Browser, create a new one for email links etc.
user_pref("advanced.system.supportDDEExec", false);
// Disable Smooth Scrolling (found it faster to have this off)
user_pref("general.smoothScroll", false);
// Allows for faster mouse scrolling
user_pref("mousewheel.withnokey.numlines", 8 ); // Adjust this accordingly - Default = 1 - updated 9/18/2006
user_pref("mousewheel.withnokey.sysnumlines", false); // This must be set to false in order to read previous line
user_pref("browser.display.show_image_placeholders", true); // New 8/25
// 1.0 Preview disables dynamic theme switching, this re-enables dynamic theme switching.
user_pref("extensions.dss.enabled", false); //New 9/1: maybe buggy don't complain Smile
// Mail & News
user_pref("mailnews.start_page.enabled", false); // New 9/23
// always send messages in MIME format (both plain- and HTML-formatted)
user_pref("mail.default_html_action", 3); // New 9/23
// The follow two are disabled for security reasons
user_pref("mailnews.message_display.allow.plugins", false); // New 9/23
user_pref("javascript.allow.mailnews", false); // New 9/23
user_pref("alerts.totalOpenTime", 7000); // New 9/23
// Disable this for performance and security issues when reading emails
// Security issues? Yes especially with zlib, jpeg, png and all kinds of new attacks coming out,
// displaying images inline can no longer be taken for granted. This only affects attached graphics.
user_pref("mail.inline_attachments", false); // New 9/23
user_pref("mailnews.show_send_progress", false); // New 9/23
// Security
// Just to make sure, disable windows shell: protocol
user_pref("network.protocol-handler.external.shell", false);
// Show full path for plugin file on about:plugins page
// the full path was removed for security purposes, please keep that in mind
// Note: showing full paths can be a security risk only use when debugging.
user_pref("plugin.expose_full_path", false);
// Disable prefetching as it may try to set cookies and other unwanted cache bloat
user_pref("network.prefetch-next", false); // New 6/28/2005
user_pref("alerts.totalOpenTime", 500);
user_pref("dom.popup_maximum", 5);
user_pref("browser.cache.disk.parent_directory", "/tmp");