Mozilla Profile Customizations

2006-03-12 11:07 - Tech

I prefer to use Mozilla Firefox for web browsing, and Mozilla Thunderbird for email. One of the big reasons is how customizable both these programs are. But they're so customizable that it can be hard to keep track of! Here's some of the more hidden things that I tweak:

Thunderbird user.js:

// Download mail from all accounts on startup
user_pref("mail.check_all_imap_folders_for_new", true);

// Change the reply header
// 0 - No Reply-Text
// 1 - "[Author] wrote:"
// 2 - "On [date] [author] wrote:"
// 3 - User-defined reply header. Use the prefs below in conjunction with this:
user_pref("mailnews.reply_header_type", 2);

Firefox userChrome.css:

 * Do not remove the @namespace line -- it's required for correct functioning
@namespace url("");

/* disable tooltips of tab names */
.tabbrowser-strip tooltip { display: none; }
/* no tab list dropdown, new tab button */
.tabs-alltabs-button, .tabs-alltabs-stack, .tabs-newtab-button {
	display: none !important;

/* get rid of "open in tabs" */
#personal-bookmarks .openintabs-menuseparator,
#personal-bookmarks .openintabs-menuitem
	display: none !important;

/* don't show options for new windows */
#file-menu menuitem[command='cmd_newNavigator'],
#file-menu #menu_closeWindow,
#contentAreaContextMenu #context-openlink,
#contentAreaContextMenu #frame menuitem[oncommand='gContextMenu.openFrame();']
	display: none !important;

Combine the Stop and Reload buttons.
NOTE: Must configure stop to the left of reload.
#stop-button[disabled="true"] { display:none; } 
#stop-button:not([disabled]) + #reload-button { display:none; }

/* make search bar fit cleanly */
#search-container { max-width: 360px !important; }

Firefox userContent.css:

/* reset buttons do nothing but waste time and space */
input[type="reset"] { display: none !important; }

/* Don't bother with images trying to track our activities */
noscript img { display: none !important; }

Firefox user.js:

user_pref("dom.disable_window_open_feature.resizable", true);
user_pref("dom.disable_window_open_feature.minimizable", true);
user_pref("dom.disable_window_open_feature.menubar", true);
user_pref("dom.disable_window_open_feature.scrollbars", true);
user_pref("browser.display.force_inline_alttext", false);
user_pref("", false);
user_pref("browser.fixup.alternate.enabled", false);
user_pref("browser.tabs.closeButtons", 3);
user_pref("", 3);
user_pref("browser.ssl_override_behavior", 2);
user_pref("browser.xul.error_pages.expert_bad_cert", true);
user_pref("editor.singleLine.pasteNewlines", 3);
user_pref("network.cookie.cookieBehavior", 1);
user_pref("network.prefetch-next", false);
user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 10);


No comments!

Post a comment:

  If you do not have an account to log in to yet, register your own account. You will not enter any personal info and need not supply an email address.

You may use Markdown syntax in the comment, but no HTML. Hints:

  • An empty line between text will create a paragraph boundary.
  • Use angle braces around a plain URL to auto-link it: <>.
  • Use this format to create a link with different text showing: [An Example](
  • Use backticks (``), not leading spaces to enclose a code block.

If you are attempting to contact me, ask me a question, etc, please send me a message through the contact form rather than posting a comment here. Thank you. (If you post a comment anyway when it should be a message to me, I'll probably just delete your comment. I don't like clutter.)