Slashdot Mirror


The Secrets of Firefox about:config

jcatcw writes "While Firefox is very customizable, many of its settings aren't in the Options. Each setting is named and stored as a string, integer, or Boolean in a file called prefs.js and accessed via about:config from the nav bar. Computerworld provides instructions on 20 tweaks for speeding up page loads, making tabs behave, reducing memory drain, and generally making the interface act the way you want it to. Customization also comes through the must-have FF extensions (but be sure to skip these)."

43 of 263 comments (clear)

  1. While it's nice.. by microbee · · Score: 5, Insightful

    Do not tune stuff that is hidden unless you know what you are doing.

    1. Re:While it's nice.. by Anonymous Coward · · Score: 5, Informative

      I particularly love the "pipelining" part. Send requests before getting valid acknowledgments from previous requests. ...

      It's rude, annoying and breaks the rules/protocol.


      From RFC 2616 (HTTP/1.1) section 8.1.1:

      HTTP requests and responses can be pipelined on a connection. Pipelining allows a client to make multiple requests without waiting for each response, allowing a single TCP connection to be used much more efficiently, with much lower elapsed time.

    2. Re:While it's nice.. by MrNaz · · Score: 3, Insightful

      If it's valid behavior according to the protocol, and it's faster, and it's not bad nettiquette, then why, pray tell, isn't it on by default?

      --
      I hate printers.
    3. Re:While it's nice.. by maxume · · Score: 4, Informative

      It isn't faster for everybody, it doesn't work with all servers...

      --
      Nerd rage is the funniest rage.
    4. Re:While it's nice.. by SailorFrag · · Score: 4, Informative

      This is a tactic spammers use with mail servers. It's rude, annoying and breaks the rules/protocol.

      RFC 2920 is the SMTP extension for pipelining. Pipelining is a perfectly valid strategy to reduce the time it takes to send mail by reducing the number of round-trips.

      What's rude is violating the RFC that says that certain round-trips are required and the spammers tend to violate those rules (such as asking if a message body can be sent before actually sending it, and waiting for the server's introduction message before the client introduces itself). Pipelining itself is actually quite good.

      I won't comment on HTTP pipelining because someone else did already.

    5. Re:While it's nice.. by smittyoneeach · · Score: 5, Interesting

      http://subversion.tigris.org/faq.html#in-place-imp ort
      Install Subversion, and use it on your config files.
      Subversion: it's not just for projects anymore.

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    6. Re:While it's nice.. by jesser · · Score: 4, Informative

      If it's valid behavior according to the protocol, and it's faster, and it's not bad nettiquette, then why, pray tell, isn't it on by default?

      Because some servers violate the protocol by responding incorrectly to pipelined requests. At least, that was the reason 2 years ago.

      --
      The shareholder is always right.
    7. Re:While it's nice.. by hahafaha · · Score: 5, Insightful

      So if these options really make pages load faster, offer less memory drain, and even feed the dog, why aren't they a part of the settings to begin with?
      Basically, because, although they may give more speed, they have drawbacks as well. Your question is like asking, ``If people can overclock their processors to so much faster, why isn't it overclocked by default?''
    8. Re:While it's nice.. by RobertM1968 · · Score: 4, Insightful

      Why? He's 100% right! Just follow the instructions and you are all set with no chance of there being problems. You see, the instructions on that web page clearly state in bold letters: "Keep a log of everything you change, or make backups."

      So, either:

      • Firefox acts weird or doesnt run at all, and you restore prefs.js from backup and have no problems
      • or it worsens performance, and you restore from backup and have no problems
      • or it improves performance and you happily surf away and have no problems

      So, because he is correct, he's a fanboy? With IE, you run the possibility of having to do much more than restore a preferences file if you hose something. With Firefox, if you follow the instructions (and something goes wrong), it takes you a few extra seconds to restore the file to original state and "nothing major" happens (other than a wasted few minutes in total trying the tweaks).

      So, if he's a fanboy, what does that make you? Just curious.

    9. Re:While it's nice.. by bunratty · · Score: 3, Insightful

      Firefox, while better than IE7, is a fucking hog and getting worse by the release. Why should users, who are already iffy about switching to Firefox, have to go through archaic setup commands in order to have the browser work well?
      Firefox works well with the default settings. If you have to go into about:config and twiddle parameters, there is something very wrong with your Firefox setup. Try creating a new profile and see if that fixes the problems. In reality, the settings suggested in the article can slow Firefox down (by setting the initial paint delay too low), cause sites not to display properly (by using pipelining with servers that don't understand it), and get you blocked from servers (by setting the maximum connections way up). You can avoid all that trouble by sticking with the defaults.
      --
      What a fool believes, he sees, no wise man has the power to reason away.
    10. Re:While it's nice.. by Yoozer · · Score: 3, Insightful

      If you have to go into about:config and twiddle parameters, there is something very wrong with your Firefox setup.
      • The "oomph" noise when you can't find something. Nowhere in the Windows sound scheme. Nowhere in the regular settings. Why?
      • Old style tabs - I don't want closing buttons on every tab, I prefer the 1.5 way of handling things.
      • 30+ tabs on a screen without having it absorb 'm in a list, I prefer the 1.5 way of handling things.
      • (something I haven't killed yet) - the entirely superfluous usage of the apostrophe button to bring up another method of search. No, I don't care if it's handier for vi users.
      If you're going to make design changes, give users the option to switch if they want to. Hiding it in about:config is like saying you can adjust it if you just looked in the poorly lit, derelict closet of the cellar with a door saying "Beware of the tiger".
    11. Re:While it's nice.. by Zoxed · · Score: 3, Insightful

      > Do not tune stuff that is hidden unless you know what you are doing.

      s/Insightful/Redundant/

      This is Slashdot: we all think we know we are doing :-)

  2. Extensions to Avoid? by CharAznable · · Score: 4, Insightful

    I thought we agreed that ComputerWorld article was mostly crap...

    --
    The perfect sig is a lot like silence, only louder
  3. Tabs by rustalot42684 · · Score: 5, Funny

    In Soviet Russia, Firefox keeps tabs on YOU!

  4. Camino? by commodoresloat · · Score: 3, Interesting

    I still use Camino, a Mozilla-based browser for OS X. Is there a similar guide to configuring Camino options or do most of these work as is?

    1. Re:Camino? by maxume · · Score: 3, Informative

      I think this is what you want:

      http://www.firefoxtutor.com/39/loc-bar-search/

      And really, they should have called Iceweasel IreOx, at least until mozilla.org asked them to stop.

      --
      Nerd rage is the funniest rage.
    2. Re:Camino? by 644bd346996 · · Score: 3, Informative

      Did you even bother to try it out? Camino's about:config page is almost identical to FF's page. Any options that are named the same in Camino as in FF will do the same thing. (Camino is just a different front end on Gecko, and about:config options are almost all Gecko options, not browser specific.)

  5. link to one page article by maj1k · · Score: 5, Informative
    1. Re:link to one page article by thc69 · · Score: 3, Insightful

      Who modded that offtopic? maj1k posted the "print this article" link so we didn't have to wait seven times for ad-ridden pages to load.

      --
      Procrastination -- because good things come to those who wait.
  6. Re:I just want by Fry-kun · · Score: 4, Informative

    try this setting:
    browser.xul.error_pages.enabled

    set it to "true"

    --
    Did you know that "FTW" ("for the win") is a direct translation of "Sieg Heil"?
  7. Foons! by SimonTheSoundMan · · Score: 5, Informative

    Well, a lot of these "tweaks" will have negative effects.

    Example: nglayout.initialpaint.delay as 0. This will slow rendering of the page as it causes reflows. Fools.

    1. Re:Foons! by daeg · · Score: 4, Informative

      Opera has sensible pipelining defaults. Most "Firefox tip" articles have you set them to values that when combined with other network settings makes your browser appear like a misbehaving robot, proxy, or hacking attempt. Firefox with sensible values doesn't get blocked.

    2. Re:Foons! by MedicinalMan · · Score: 4, Informative
      Damn right. Here's what mozilla says about nglayout.initialpaint.delay

      Lower values will make a page initially display more quickly, but will make the page take longer to finish rendering. Higher values will have the opposite effect.
    3. Re:Foons! by AcidPenguin9873 · · Score: 3, Informative

      Example: nglayout.initialpaint.delay as 0. This will slow rendering of the page as it causes reflows. Fools. From the article, just below the section on nglayout.initialpaint.delay:

      Reduce the number of reflows
      When Firefox is actively loading a page, it periodically reformats or "reflows" the page as it loads, based on what data has been received. Create a content.notify.interval integer preference to control the minimum number of microseconds (millionths of a second) that elapse between reflows. If it's not explicitly set, it defaults to 120000 (.12 of a second).

      Too many reflows may make the browser feel sluggish, so you can increase the interval between reflows by raising this to 500000 (500,000, or 1/2 second) or even to 1000000 (1 million, or 1 second). If you set this value, be sure to also create a Boolean value called content.notify.ontimer and set it to true. Seems like setting nglayout.initialpaint.delay to 0 and bumping up the reflow interval can get you the page quicker and avoid too many reflows.
  8. A bigger question by DoofusOfDeath · · Score: 4, Insightful

    Is why useful tweaks are hidden behind and obscure and risky-to-use interface like about:config. If the tweaks are worth doing, shouldn't they have first-class support in the main configuration GUI?

    1. Re:A bigger question by jj110888 · · Score: 5, Interesting

      Perhaps these tweaks are hidden because they are *not* worth doing?

    2. Re:A bigger question by leathered · · Score: 5, Funny

      Listen sonny, as a network admin I perform 'miracles' every day with a CLI and hidden options in config files. It impresses the PHBs, earns respect and keeps my salary up. And now you want to further trivialise my job with more GUI options. Oh for the good old days when all we had were ones and zeroes.

      --
      For all intensive porpoises your a bunch of rediculous loosers
    3. Re: A bigger question by Black+Parrot · · Score: 4, Insightful

      Is why useful tweaks are hidden behind and obscure and risky-to-use interface like about:config. If the tweaks are worth doing, shouldn't they have first-class support in the main configuration GUI? One philosophy is to nanny the unwashed masses away from "advanced" options. A second is that there's not a lot of reasons to support every possible option in a UI, especially if some of them are rarely used.

      FWIW, I used to change some stuff and it would be back to the default next time I started the broweser. Ditto if I changed it in the config file. It finally took when I changed it in the GNOME configuration manager; I guess it was masking the application-specific configs.
      --
      Sheesh, evil *and* a jerk. -- Jade
  9. official mozilla reference by wizardforce · · Score: 5, Informative
    --
    Sigs are too short to say anything truly profound so read the above post instead.
  10. Why aren't these real options? by Sigma+7 · · Score: 4, Insightful

    Some of these tweaks cut down on memory usage. Given that there are still plenty of computers with 512MB of ram (e.g. notebook computers), you don't want applications pinning 100% CPU or memory as it slows down the rest of the system. This is more important with notebook computers, since a second lost through CPU usage or hard drive thrashing is a second lost from battery charge.

    The notebook I'm using right now has this amount of memory, and was easily available in stores 1 year ago. Last time I checked, a web browser should never require the absolute latest system for day-to-day operations (which include having another application in the background, such as a word processor or even MSVC 2005.)

    1. Re:Why aren't these real options? by telso · · Score: 3, Interesting

      If you don't want to lose CPU cycles (and therefore battery power) from using your browser, why are you on Slashdot?

  11. The Art of Performance Tuning -- a Fable by sillivalley · · Score: 5, Funny

    A long time ago, when computers remembered using little donuts made of rust, I worked on on a mainframe computer system (CP/V) that supported batch, timesharing, realtime, the works. It had performance monitoring tools, and a large basketload of parameters for sys admins to twiddle.

    One of our favorite parameters was SL:BB, documented as batch bias, an input to the process scheduler. When someone called or wrote to us saying they were having problems with performance tuning, we usually suggested they redo their tests varying the setting of SL:BB and let us know what happened. Try different values, 0, 1, 5, 20, 50, 100, things like that. Try it and get back to us.

    And lo, they would go off and redo performance runs, and report back.

    And we would collect their results and go and muse over them, usually over beer.

    SL:BB told us a lot about the user, because SL:BB was a knob that wasn't connected to anything. Oh, the value was range-checked by the parameter setting tool, and dutifully stored in memory, and displayed on performance displays, but it didn't change system performance in any way at all.

    That's not what the documentation said, but who believes documentation? We had plans for SL:BB, we just hadn't gotten around to writing the code yet.

    So if the user reported that setting SL:BB to 25, but not 24 or 26 gave them incredibly better (or worse) results, we definitely factored that into our analysis.

    Those that reported back that the setting of SL:BB didn't make a damn bit of difference, and there were some, we honored as brothers, took into our confidences, and shared beer with at the soonest opportunity. Their bug reports and feature requests received far more attention, for they had passed an important test.

    And how many of these Firefox parameters are like SL:BB?

    1. Re:The Art of Performance Tuning -- a Fable by MulluskO · · Score: 3, Informative

      "The general.config.obscure_value preference specifies how the configuration file is obscured. Firefox expects that each byte in the file will be rotated by the specified value. The default value is 13. If this value is left unchanged, then the configuration file must be encoded as ROT13. Autoconfig will fail if the cfg file is not encoded as specified by this preference. A value of 0 indicates that the file is unencoded-- i.e. it is unobscured plain text. It is recommended that you set this value to 0. (This will allow you to skip the encoding step in part 3.)"

      Hee.
      --

      Too busy staying alive... ~ R.A.
  12. Re:Which option to make the Firehose work again? by larry+bagina · · Score: 5, Funny

    set org.slashdot.dont_make_changes_on_the_live_server_ yes_im_talking_to_you_cmdrtaco=1

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

  13. Hacking Firefox by Dominare · · Score: 5, Insightful

    Gah. Why is it that these people insist on calling anything not found on the main options page "hacking"? As for the above questions - usually the reason things like that are 'hidden' is to stop people fiddling with them. A good example is the old 'coolbits' entry in the registry for nVidia cards - the overclocking functionality was there, but you had to do something non-standard to enable it. That way, the company's ass is covered if you melt your card; you can't pretend you enabled the options accidentally. Since Firefox is free and nobody is paying tech-support, I'm not sure why these things aren't available - but the fact of the matter is, anyone messing around with fundamental parameters should _not_ be the kind of person who lets random articles on the internet tell them what to change.

  14. Thunderbird also... by thejuggler · · Score: 4, Informative

    You can configure many settings in Thunderbird using a similar interface. However, in Thunderbird you can get to the config section from the Options menu Advanced tab. I have reduced the size of the attachment icons this way. set mailnews.attachments.display.largeView to False.

  15. Re:I just want by the_cowgod · · Score: 3, Informative

    Set "keyword.enabled" to false.

  16. Re:Still can't turn off favicons in the bookmark m by Dracos · · Score: 4, Informative

    In Firefox 2.0.3, I opened up the DOM inspector, chose the main window, and started drilling down in to the element tree: I found the icons which you loathe.

    Open up userChrome.css (in your profile: [profile dir]/chrome/).

    In it, the following CSS rule should work to hide the icons:

    .bookmark-item > .menu-iconic-left > image { display: none; }

    (This selector appears in chrome://browser/skin/browser.css, if you know where that is).

  17. Opera Version by Deliveranc3 · · Score: 3, Informative

    opera:config

  18. Hidden slashdot tweaks THEY don't want you to know by noidentity · · Score: 3, Funny

    I've found some secret hidden tweaks you can make to Slashdot articles, just by editing this thing called a URL. For instance, you can set the comment threshold HIGHER than 5 by editing the number after "threshold=", ensuring only the absolute best comments (apparently none in this story meet that standard yet). Why do they hide useful options like this from us?

  19. Re:I just want by jonasj · · Score: 4, Insightful

    If it can't find it in DNS, I want it to return a 404


    404 is an HTTP status code. If firefox cannot find the server you want to connect to, where do you want that 404 to come from?
    --
    You know, Microsoft's street address also says a lot about their mentality.
  20. Re:Hidden slashdot tweaks THEY don't want you to k by Dogtanian · · Score: 4, Funny

    For instance, you can set the comment threshold HIGHER than 5 by editing the number after "threshold=" It works the other way too; you can set the threshold to -2 or lower via the URL. Most people never get to see such posts, which is the whole point- you'd be shocked if you knew what was there. Things modded down to -2 include:
    • Secrets of the Illuminati
    • The truth behind the JFK assassination
    • Clear evidence that Steve Jobs is not God, Bill Gates is not the devil and Steve Ballmer is not *actually* a chair-throwing ape
    • Anything linking to Zonk's blackmail pics of Taco and Cowboy Neal
    --
    "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).
  21. Re:Documentation by bunratty · · Score: 3, Informative

    My question is simple: Is there good, concise documentation of the about:config page and its options?

    Yes.

    If yes, where is it and is there an an easy why to find it?

    MozillaZine Knowledge Base Article on about:config entries

    It is the first page Google finds when you search for "about:config". I'll let you decide whether that's easy to find.

    If no, why not? If this is all about choice, should people be able to learn about their choices?
    If there wasn't, you'd be able to put it in the Knowledge Base yourself.
    --
    What a fool believes, he sees, no wise man has the power to reason away.