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.
- Browse to CAcert’s root certificate page.
- Click on the Root Certificate (PEM Format) link.
- In the pop-up dialog, check Trust this CA to identify web sites.
- Click on the CRL link.
- Click Yes to enable automatic updates of the CRL.
Extensions
- FlashBlock
- Blocks Flash, unless/until you enable it on a page
- Open link in…
- Lets you choose to open links in a new tab, new window, or current window
- Nuke Anything Enhanced
- Lets you remove selected text or items
- Good for optimizing a page for printing
- Platypus
- Let’s you modify a page - remove, expand, isolate, etc.
- Great for optimizing a page for printing
- Sadly, not going to be updated for Firefox 3.6 or higher
- No Squint
- Allows setting a default text zoom level, and remembers the text zoom level per site
- Configuration:
- Default text zoom level: 120%
- CHECK Show current zoom level and site in status bar
- CHECK Remember text zoom level per site
- Delicious Bookmarks
- I basically turn off everything except the Tag button
- Web Developer
- Toolbar with lots of tools helpful for web development
- Provides lots of info about and validation of HTML, CSS, images, JavaScript, etc.
- Disable just about anything within the page (images, JavaScript, color, …)
- Xmarks (formerly Foxmarks)
- Stores bookmarks on a server, and syncs them with all your browsers
- Firebug
- Another must-have for developers – JavaScript console, DOM inspector, and much more
- FireQuery - jQuery additions
- Firefinder - find elements that match a given CSS selector
- Firecookie
- YSlow - tests load speed of all parts of a web page
- PageSpeed - another performance diagnostic tool
- CodeBurner - reference material for HTML and CSS
- Greasemonkey
- Lets you specify additional JavaScript code to run for specific sites
- Stylish
- Like Greasemonkey, but for CSS
- Can get scripts from http://userstyles.org/stylish
- Foxy Proxy
- NOTE: Only required at work, where several proxies are in place.
- Global Settings
- UNCHECK Show mode (text) on status bar
- UNCHECK Show icon in the Firefox tools menu
- UNCHECK Show icon in the context-menu
TODO
- Print Preview
- DOM Inspector
- NOTE: Installed by default in Firefox 2.0, but not in 3.0.
- Rainbow Firebug extension
- FirePHP Firebug extension (requires an add-on to PHP on the server)
- Firefox Mac PDF
- View PDFs inline in the browser, using Mac OS X Preview program
- InFormEnter
- Select common for field values from pre-defined list.
- Lexmark Toolbar
- Helps remove stuff for printing.
- FireFoxMenuButtons
- ScrapBook
- General → Enable submenu in context menu
- General → Show ‘Capture Detail’
- Use Tabs → (select all)
- Editing → Enabled multi-line comment
- easyGestures
- Behavior → Middle mouse button, Only open when dragging
- Behavior → Page 2 → Opacity: 50%
- Behavior → Page 2 → Tooltips delay (ms): 400
- Behavior → Page 2 → Autoscrolling (uncheck)
- Customizations → Page 1 → tag link with (target icon) (uncheck)
- Customizations → Page 4 → Custom URL 1:
- Wikipedia, http://en.wikipedia.org/wiki/%s
- Customizations → Page 4 → Custom URL 2:
- Customizations → Page 4 → Custom URL 3:
- Wayback, http://archive.org/url=%u
- Customizations → Page 4 → Custom URL 4:
- Customizations → Page 4 → Custom URL 5:
- Vivisimo, http://vivisimo.com/search?query=%s
- Actions → Primary Actions → Extra Pie Menu
- Load URL 1-5
- TODO: Add actions for delete selected/pointed-at object
Plugins
Install Firefox plug-ins (see https://addons.update.mozilla.org/plugins/)/
- Google Gears
- NOTE: May not be required in Firefox 3
- Adobe Reader
- QuickTime
- Java
- Adobe Shockwave Flash
Configuration
Customize Firefox. See http://www.mozilla.org/support/firefox/tips for more tips.
- Home Page Location: http://www.google.com/reader
- Privacy → History
- Remember visited pages for 45 days
- Advanced → Network
- Cache: Use up to 1000 MB (1 GB) of disk space for cache
about:config
- Require / or ’ (or F3) for searches:
- accessibility.typeaheadfind.autostart = false
- Make sure all pop-up windows are resizable, minimizable, scrollable, and show the location toolbar:
- dom.disable_window_open_feature.resizable = true
- dom.disable_window_open_feature.minimizable = true
- dom.disable_window_open_feature.scrollbars = true
- dom.disable_window_open_feature.location = true
- Reveal more tab/window options:
- browser.tabs.showSingleWindowModePrefs = true
- Open tab when JavaScript asks to open a new window, unless they include size, toolbar, or placement directives:
- browser.tabs.opentabfor.windowopen = true
- browser.link.open_newwindow.restriction = 2
- Enable HTTP/1.1 pipelining:
- network.http.pipelining = true
- network.http.proxy.pipelining = true
- network.http.pipelining.maxrequests = 8
- Prevent BLINK tags:
- browser.blink_allowed = false
- Set Download Manager to close when done:
- browser.download.manager.closeWhenDone = true
- browser.download.manager.useWindow = false
- Don’t select spaces between words on double-click:
- layout.word_select.eat_space_to_next_word = false
- Doesn’t seem to work.
- Force frames to be resizable:
- layout.frames.force_resizability = true
- Wrap long lines when viewing source:
- view_source.wrap_long_lines = true
- Allow direct installation of plugins:
- extensions.hideInstallButton = false
- Allow Windows to swap out memory when the program is minimized:
- config.trim_on_minimize = true
- Turn off smooth scrolling in the tab bar (Firefox 3):
- toolkit.scrollbox.smoothScroll = false
- Turn on spell check for single-line text boxes:
- layout.spellcheckDefault = 2
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
- Google (default)
- Wikipedia
- Teoma
- Webster
- Other dictionary sites would be fine (Dict.org, Dictionary.com, wiktionary.org)
- AllMusic
- CDDB (Any Field)
- IMDB
- Amazon.com (default)
- REMOVE:
- Answers.com
- CC
- eBay
- Yahoo
GreaseMonkey Scripts
- Disable IntelliTXT and other similar pop-up ads
- Select Range of check-boxes with Shift+click
- TODO: Any other scripts I normally use
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.