Craig Buchek

Welcome to my web site

Craig Buchek

Craig Buchek

Welcome to my web site

Firefox

This page describes my installation and configuration of Firefox. I’ve upgraded to Firefox 3.5, but most of this also worked with Firefox 3.0.

Installation

For GNU/Linux, I just go with the pre-packaged version that comes with the OS.

For Windows and Mac OS X, I just download from GetFirefox.com.

Certificates

Add the CAcert.org root certificate.

Extensions

TODO

Plugins

Install Firefox plug-ins (see https://addons.update.mozilla.org/plugins/)/

Configuration

Customize Firefox. See http://www.mozilla.org/support/firefox/tips for more tips.

about:config

user.js

Edit the user.js file in the user profile. (Under Windows, use WordPad.)

Allow cut and paste on my WordPress sites (from http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard):

user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "http://blog.craigbuchek.com http://blog.boochtek.com ");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

userChrome.css

Edit the userChrome.css file in the user profile. (Under Windows, use WordPad.)

/* Make the Search box wider (500 pixels wide). */
#search-container, #searchbar {
    -moz-box-flex: 500 !important;
}

/* Allow bookmarks in the toolbar to be wider. */ #personal-bookmarks toolbarbutton.bookmark-item { max-width: 250px !important; }

/* Change cursor for links that open in new window. */ :link[target="_blank"], :visited[target="_blank"], :link[target="_new"], :visited[target="_new"] { cursor: crosshair !important; }

/* Change cursor for JavaScript links. */ a[href^="javascript:"] { cursor: move !important; }

Search Sites

GreaseMonkey Scripts

Stylish Scripts

4 scrollbar arrows

This will add up/down arrows at the top and bottom of all scrollbars. Got this from http://userstyles.org/styles/49.

scrollbar * {
    display: -moz-box !important;
}

Add Bookmark Dialog: Show Folder Tree

This will make the Bookmark dialog show the folder tree, without having to hit the triangle button to open the folder tree. Got this from http://userstyles.org/styles/995.

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
@-moz-document url("chrome://browser/content/bookmarks/addBookmark2.xul") {
#addBookmarkDialog {
  min-height: 40em !important; /* Adjust this value to change the default height */
}
#folder-tree {
  visibility: visible !important;
}
#keywordRow {
  display: -moz-grid-line !important;
}
button[dlgtype="extra2"] {
 display: -moz-box !important;
}
#expander, #keywordRow + row {
  display: none !important;
}
}

LWN

This will hide some of the items in Linux Weekly News pages.

@-moz-document url-prefix(http://lwn.net) {
  /* buttons to share the article with non-subscribers */
  .MakeALink, .MakeALink + br {
    display: none !important;
  }
  /* table above the title */
  .TopNavigation {
    display: none !important;
  }
  /* sub-title above the main page title */
  h2 {
    display: none !important;
  }
  /* sub-section titles */
  p.Cat2HL, p.Cat3HL {
    display: none !important;
  }
}

Slim Extension List

This will make the Add-ons dialog a bit smaller. Got this from http://userstyles.org/styles/58.

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
extension {
  min-height: 20px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.extension-icon-stack,
.extension-item-description {
  display: none !important;
}
extension[selected="true"] {
  min-height: 25px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}
extension[selected="true"] .extension-icon-stack,
extension[selected="true"] .extension-item-description,
.extension-item-description[value *="is restarted"] {
  display: -moz-box !important;
}
extension[disabled="true"] .extension-item-name {
  color: #ccc !important;
}
extension[disabled="true"]:hover .extension-item-name,
extension[disabled="true"][selected="true"] .extension-item-name {
  color: #aaa !important;
}
.extension-item-description[value *="will be upgraded"],
.extension-item-description[value *="will be enabled"],
.extension-item-description[value *="will be installed"] {
  color: blue;
}
.extension-item-description[value *="will be disabled"],
.extension-item-description[value *="will be uninstalled"] {
  color: red;
}
extension:hover * {
  cursor: pointer !important;
}
extension:hover,
extension[disable="true"] {
  background-image: url(chrome://mozapps/skin/shared/itemSelected.png) !important;
  background-position: top center;
}
/* hides commandbar at the bottom */
/* this is optional */
/* #commandBar, #windowResizer { display: none; } */

Enable Favicons in Mac OS X Bookmarks Toolbar

Load the Stylish script from http://userstyles.org/styles/5969.