Browser configuration

Well, it’s been a while since I tried to share my browser setup and it has changed a fair bit. (For example, I installed InfoLister which allows me to quickly generate a list of installed
firefox extensions.) So, here is my current setup. I’ll probably be adding an ad-blocking related extension within the next few days since the browser is now quick enough for each image to make a noticeable difference in page load times.

Last updated: Fri, 12 Aug 2005 12:09:27 GMT
User Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+

Extensions (enabled: 23, disabled: 6):

Themes (1):

  • Firefox (default) 2.0

Plugins (5):

  • Default Plugin
  • Helix DNA Plugin: RealPlayer G2 Plug-In Compatible
  • Java(TM) Plug-in Blackdown-1.4.2-02
  • QuickTime Plug-in 6.0, Windows Media Player Plugin are supported by mplayerplug-in
  • Shockwave Flash

And, since I made so many changes without need for extensions, here
are my user.js, userChrome.css, and userContent.css files:

// --- user.js ---
// Reveal more tab/window options: (No more need for "Tabbrowser Extensions" Bloat)
user_pref("browser.tabs.showSingleWindowModePrefs", true);

// Put an end to blinking text!
user_pref("browser.blink_allowed", false);

// Make sure all windows are resizable, minimizable, and have menus, scrollbars, and navbars:
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.location", true);
user_pref("dom.disable_window_open_feature.scrollbars", true);

// Force frames to be resizable:
user_pref("layout.frames.force_resizability", true);

// Change non-URL entry in the address bar to a hybrid of Google's "I'm Feeling Lucky" and normal Google search:
// If there's a clear-cut match, go to it. Otherwise, show search results.
user_pref("keyword.URL", "http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=");

// Don't wait 250ms before rendering page.
user_pref("nglayout.initialpaint.delay", 0);

// Enable Pipelining
user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8 );

//Explicit Javascript Blacklisting (For cases where Javascript is definitely not necessary and is just annoying)
user_pref("capability.policy.policynames", "nojs");
user_pref("capability.policy.nojs.sites", "geocities.com");
user_pref("capability.policy.nojs.javascript.enabled", "noAccess");

//(Disabled) Javascript Whitelisting (For if you don't want to muck around with the NoScript! extension)
//user_pref("capability.policy.policynames", "jsok");
//user_pref("capability.policy.default.javascript.enabled", "noAccess");
//user_pref("capability.policy.jsok.sites", "http://www.example.com http://www.example.net");
//user_pref("capability.policy.jsok.javascript.enabled", "allAccess");

// Make middle-clicking tabs close them. (A fix for a change in the defaults)
user_pref("middlemouse.contentLoadURL", false);

// Turn off image animation (Valid choices are "none", "once", and "normal")
user_pref("image.animation_mode", "none");

// Partially-untested changes which apparently do something I want.
user_pref("plugin.expose_full_path", true);
user_pref("ui.submenuDelay", 0);

// Show pictures as they load (Gives the illusion of quicker loading)
user_pref("browser.display.show_image_placeholders", false);
// Use error pages instead of error dialogs. (Much better for tabbed browsing)
user_pref("browser.xul.error_pages.enabled", true);

//The Following is a "Fast Computer, Fast Connection" enhancement profile.
// See http://216.239.59.104/search?q=cache:http%3A//www.tweakfactor.com/articles/tweaks/firefoxtweak/4.html
user_pref("content.notify.backoffcount", 5);
user_pref("network.http.max-connections", 48);
user_pref("network.http.max-connections-per-server", 16);
user_pref("network.http.max-persistent-connections-per-proxy", 16);
user_pref("network.http.max-persistent-connections-per-server", 8 );

// Feel free to use 65535 (64MB) if you are willing to let your browser's cache grow that big and use the back button a lot.
user_pref("browser.cache.memory.capacity", 32768);

// Only set this if you can guarantee nobody else can read your cache files
user_pref("browser.cache.disk_cache_ssl", true);

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* --- userChrome.css --- */

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

/* Italicize the title of unread tabs */
#content tab:not([selected]) {
  font-style: italic !important;
}

@import url(chrome://flashblock/content/flashblock.css);
/* --- userContent.css --- */
/*
 * This file can be used to apply a style to all web pages you view
 * Rules without !important are overruled by author rules if the
 * author sets any.  Rules with !important overrule author rules.
 *
 * For more examples see http://www.mozilla.org/unix/customizing.html
 */

// Stop useless, annoying "blink" elements.
blink   { text-decoration: none ! important; }

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

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

/* Stop those marquee tags! */
marquee {
   -moz-binding                  : none !important;
   display                       : block;
   height                        : auto !important;
}

/* Add a skull and crossbones after links marked rel=nofollow */
a[rel="nofollow"]:after {
   content: "

I also have over a dozen Greasemonkey scripts to make site-specific improvements to my browsing experience, but I don’t know of an easy way to get an HTML-fomatted list of them. As you may have noticed from the user agent string, my browser version is 1.0+. That is the
evidence that I’m using Deer Park alpha 2 as detailed in my previous post.

CC BY-SA 4.0 Browser configuration by Stephan Sokolow is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

This entry was posted in Geek Stuff. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution under the same terms as the associated post.

All comments are moderated. If your comment is generic enough to apply to any post, it will be assumed to be spam. Borderline comments will have their URL field erased before being approved.