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("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* remove excess space around toolbar buttons */
#toolbar-menubar toolbarbutton {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
/* disable tooltips of tab names */
.tabbrowser-strip tooltip { display: none; }
/* disable tab list drop down */
.tabs-alltabs-button { display: none; }
/* 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; }
/* no tab list dropdown */
.tabs-alltabs-stack {
display: none !important;
}
/* Why the buttons gone in 2.0? Silly silly!
https://bugzilla.mozilla.org/show_bug.cgi?id=344422
*/
#FindToolbar > * {display:-moz-box}
/* Go buttons .. waste of space .. just press enter! */
.searchbar-box .search-go-button,
#searchbar .search-go-button-stack,
#go-button, #go-button-stack
{
display: none !important;
}
/* This space on the GM button is unnecessary. */
#gm-status-image { margin: 0 !important; }
/* make urlbar match search bar */
#urlbar-container { margin: 0px !important; }
/* make the firebug status panel fixed width */
#fbStatusBar label { display: none !important; }
/* hide the parts of the del.icio.us extension I don't like */
#ybookmark-progress-statusbarpanel,
#ybookmark-import-progress-statusbarpanel,
#delicious-status-bar-panel
{
display: none !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; }
@-moz-document domain(titantv.com) {
/* crap at the top */
td.gridBannerRowHeader, td.gridBannerRowCell, iframe {
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("browser.fixup.alternate.enabled", false);
user_pref("browser.tabs.closeButtons", 3);
user_pref("browser.chrome.toolbar_tips", 3);
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);