Firefox: Customizing the way it looks

Lifehacker has an excellent post on customizing Firefox, and making it more personal, by modifying the userChrome.css file. Not as hard as it sounds, really. Generally it’s a matter of finding the file and pasting any pre-configured changes in to the file. I’ve included the ones that I’ve used on my home machine, all fully commented, so that you can tell what they’ll actually do.

/* Customizations added from LifeHacker article on modifying chrome.css. Some stuff added from Mozilla Tips and Tricks site */

/* Add a keyword when adding a bookmark */
#keywordRow { display: -moz-grid-line !important; }

/* Remove Stop button when there's nothing to Stop */
#stop-button[disabled="true"] { display: none; }

/* Remove Back button when there's nothing to go Back to */
#back-button[disabled="true"] { display: none; }

/* Remove Forward button when there's nothing to go Forward to */
#forward-button[disabled="true"] { display: none; }

/* Multi-row bookmarks toolbar */
#bookmarks-ptf {display:block}
#bookmarks-ptf toolbarseparator { display:inline }

/* Make inactive tabs hardly visible */
#content tab:not([selected="true"]) {
-moz-opacity: 0.5 !important; }

/* Hide the Go menu */
menu[label="Go"] {
display: none !important; }

/* Hide read mail from Tools Menus */
menuitem[label="Read Mail (0 new)"] { display: none; }
menuitem[label="Read Mail (0 new)"] + menuseparator { display: none; }
menuitem[label="New Message..."] { display: none; }
menuitem[label="New Message..."] + menuseparator { display: none; }

/* Remove Web Search from Tools Menu */
menuitem[label="Web Search"] { display: none; }
menuitem[label="Web Search"] + menuseparator { display: none; }

/*
* For more examples see http://www.mozilla.org/unix/customizing.html
*/

Any others that you’ve installed on your machine and wouldn’t mind sharing?

Explore posts in the same categories: Firefox

Comment: