Windows Secrets

Enter your e-mail address to get a free subscription.

 

We guarantee your privacy: 1. We will never sell, rent, or give away your address to any outside party, ever. 2. We will never send you any unrequested e-mail, besides newsletter updates. 3. All unsubscribe requests are honored immediately, period.  Privacy policy


Newsletter
 
 
INTRODUCTION — news about your newsletter

Get a bonus e-book

At least four times a year, we license a special bonus download for our paying subscribers. This issue, the bonus is two full chapters from Windows XP Home Networking, 2nd Ed. (photo, below). The printed book, written by Windows Secrets associate editor Paul Thurrott, will soon be released by Wiley Publishing.

Windows XP Home Networking The two chapters in our bonus PDF e-book are "Sharing an Internet Connection" and "Wireless Networking." With Microsoft's recent release of Service Pack 2 (SP2) for Windows XP, connection sharing and Wi-Fi support have substantially changed. Our exclusive e-book excerpt, unavailable from any other source, details everything a home user needs to know about the new Windows behavior.

As a free subscriber, you can get the bonus e-book by upgrading to the paid version of the Windows Secrets Newsletter. To upgrade, simply make a financial contribution of any amount you choose. We don't have a fixed upgrade fee. Any amount you can give to support our research into Windows is welcome.

Use the following link to upgrade your subscription and download your bonus: Upgrade now

As of this writing, "Windows XP Home Networking, 2nd Ed." is not yet available in bookstores or online booksellers. If you wish, however, you can pre-order the printed book, which lists for $29.99 in the U.S. More info: United States / Canada / Elsewhere

We look forward to bringing you even more secrets of Windows, and even more bonus content, in the coming year. —Brian Livingston, Editor


 
Giving a paid subscription as a gift


Several readers have asked us how to give a paid subscription to the Windows Secrets Newsletter to a friend or colleague as a Christmas gift. If that's the most appropriate stocking stuffer for you, here's how to do it:

Step 1. You must have the permission of the person who'll be receiving the subscription, because you'll be sending it to his or her e-mail address.

Step 2. Go to WindowsSecrets.com and get a free subscription for a spare e-mail address that you can access.

Step 3. During the subscription process, upgrade the free subscription to a paid one. Your payment counts as a "double opt-in," which confirms your new subscription.

Step 4. After paying, go back to your preferences page. Change the primary delivery address from your e-mail address to the address of your giftee.

Step 5. On the preferences page, click the check box to re-send the current issue of the newsletter to the primary delivery address, then click the Continue button.

That's it. Your giftee will receive the next 12 months of the paid version of the newsletter, at no cost to him or her. Happy holidays!

^

 
WINDOWS SECRETS NEWSLETTER
(formerly Woody's Windows Watch and Brian's Buzz on Windows)
Editors' Photo
 
ISSUE 43 — 2004.12.02

Get a bonus e-book
Giving a paid subscription as a gift
Top Story: Secrets of Firefox 1.0
A patch for Windows' IFRAME hole is released off-schedule
Exploits attack WINS in some PCs
PCs without firewalls are infected in minutes, study finds
Two reviewers test 30 different digital cameras
Experts pick the best camcorder format: Is it MiniDV, DVD, or SD?
The best of 24 different laptops in 5 categories
Five PCs win Editors' Choice in high-end and midrange categories
All-in-one PCs have evolved to become a serious choice
Pocket video players put TV in the palm of your hand
Wireless keyboard and mouse? Why not, but which maker is best?
Now take 20 to 80 GB of storage with you on tiny drives
Firewall weaknesses leave users at risk
Advanced ad-blocking techniques
Remove IE's dangerous "Add to Restricted Zone" menu item
Print your own 12-sided 2005 calendar
Useful Links

NEWSLETTER CONTROL PANEL

Windows Secrets home page
How to subscribe
Change your delivery address
Change your preferences
Access past free issues
Access past paid issues
Submit a Windows tip
Get subscription help
How to unsubscribe


CIRCULATION: over 145,000


 
 
TOP STORY — info you need to make Windows work

Secrets of Firefox 1.0


By Brian Livingston

It's not so long ago that we learned to master the Windows Registry, a buzzing hive of little-known configuration settings. Now we find that Firefox 1.0, the hot new browser released on Nov. 9 by the Mozilla Foundation, has its own hidden playground for us to tweak.

In case you haven't heard, Firefox is rapidly gaining steam as a free replacement for Microsoft's own Internet Explorer browser. OneStat.com, which measures Web behavior in 100 countries around the world, reported on Nov. 22 that IE had lost 5 percentage points of market share in the past six months, dropping to 89% of browser users. Firefox and its predecessor, Mozilla, are up to 7.35% of users. The foundation says 7.5 million people downloaded Firefox 1.0 in the month of November.

That doesn't tell the whole story, though. Experienced Windows admins, who often set the tone for other users, seem to be adopting Firefox at a much higher rate. More than 25% of the visitors to my specialized Web sites — WindowsSecrets.com, BriansBuzz.com, BrianLivingston.com, and the like — are now using some version of Firefox or Mozilla, according to my server logs. That's up from only 10.9% as recently as January 2004.

With all this momentum, it's fascinating to find that many powerful capabilities of Firefox 1.0 are still difficult to find and little known. For example, typing the following strings into Firefox's Address Bar (which the new browser calls the Location Bar) and pressing Enter brings up a wide variety of novel applets:
  • about: shows info on Firefox's version number, copyright, etc.;
  • about:config reveals the Configuration Console, a repository brimming over with scores of customizable settings;
  • about:cache displays a summary of both your memory and file cache, with a link to full file listings;
  • about:buildconfig lists the compiler options that were used to create your version of Firefox (and, since it's open source, anyone can compile a customized version);
  • about:plugins enumerates your installed add-ons, which can be quite numerous since Firefox is designed to be modular and extensible; and
  • about:credits is an "Easter egg" that includes the names of hundreds of developers and testers who worked on the product.
Today's article focuses on about:config, the beating heart of Firefox, which controls almost every aspect of tuning and tweaking the browser. 

What about:config is and isn't good for

Typing about:config into the Address Bar reveals an enormous list of settings and options (see image, below). This includes everything from the "browser" section, which controls user-interface preferences, to the "network" section, which establishes parameters for connecting to the Internet and other resources.

about:config detail

The organization of about:config — let's face it — is a mess. There are settings in here that are left over from the old Mozilla browser suite, which do nothing in Firefox but haven't been removed. Other settings are easily changed through Firefox's visible menus, so there's no good reason to tweak them in the unforgiving about:config environment.

That leaves a number of settings that can really make a big difference in your enjoyment of Firefox as a browser. With a few simple precautions, explained below, you can try different configurations with little risk. 

The care and feeding of about:config

There are three ways to edit the settings in Firefox's Configuration Console:

1. Direct editing. In the Firefox window, you simply right-click any row, which brings up a context menu. On that menu, you click Modify to change a value, New to create a new value, or Reset to restore a value to its default. A setting looks like this:

browser.history_expire_days   user set   integer   99

2. Editing User.js. You can also insert lines into a file named User.js. Firefox reads this file and adopts any settings it finds there. The file does not exist by default and must be created, if desired.

The file uses a different format to specify preferences. The "history expire days" setting shown above would look as follows in User.js:

user_pref("browser.history_expire_days", 99);

Because direct editing in the Configuration Console is so easy, it usually isn't necessary to write lines of code into User.js. Creating such a file, however, can be useful if you wish to override Firefox's defaults on several PCs. (In that case, simply copy the file to the correct location on those machines.)

3. Editing Prefs.js. This file is automatically generated by Firefox when you make changes thorugh its menus or the Configuration Console. It's unwise to edit this file directly, and Prefs.js is mentioned here only for completeness and to advise you against editing it manually.

The files mentioned above — as well as two other customization files, userChrome.css and userContent.css — are located in different folders under Windows 2000/XP and Windows 95/98/Me. This is explained in articles at Mozilla.org, the site of the Mozilla Foundation, and The Edmeister, a private Firefox info site.

You can edit these files without having to find their specific location by using a free, third-party utility called ChromEdit.xpi. After you install this extension and restart Firefox, a new Edit User Files item shows up on the Tools menu.

An excellent tutorial on editing within the Configuration Console is provided by Mozillazine.org, a tips site. 

How to backup and restore these crucial files

You can make mistakes when editing configuration files that would prevent Firefox from working properly or even starting at all. For this reason, you should always back up these files before making changes. Everyone will tell you that, but I'm also going to show you how to do it and, more importantly, how to recover in case you make a serious error.

1. Backup your config files. Your customization files are stored in a folder named Profiles on your hard drive underneath username \ Application Data \ Mozilla \ Firefox. To find the different locations for this folder on Windows NT, 2000, XP, 9x, and Me, check the convenient chart at Mozilla.org. Before making edits, copy the Profiles folder to a backup disk or another safe location.

2. How to recover from errors. If your changes make Firefox unstable, close all instances of Firefox and then copy your preferences files from your backup location to the default location and restart Firefox. In extreme cases, when Firefox won't even start, you can rename the User.js file and/or the Prefs.js file to a temporary name and then start Firefox. The browser will revert to a default configuration, allowing you to transfer your "safe" preferences into a new file. 

The tweaks you'll want to make right now

Now that you have the basics, we get to the good part: making changes to improve Firefox's performance and capabilities.

Fix a memory leak in Firefox 1.0
Firefox is supposed to dynamically release memory from its RAM cache to other Windows applications as needed. Unfortunately, Firefox 1.0 seems to consume more memory than it should, which hurts performance, when set to the default of 51200 KB (51 MB).

To solve this, Firefox power users recommend limiting the memory cache using the Configuration Console. This frees up memory for other apps, speeding up everything to a greater or a lesser extent, depending on your machine and the applications you run. Here's how the trick works:

Step 1. Type about:config into Firefox's Address Bar and press Enter.

Step 2. Right-click any row, then click New, Integer. Type or paste the following preference name into the dialog box that appears (this is a hidden preference that doesn't exist in the Configuration Console until you create it):

browser.cache.memory.capacity

Step 3. Click OK, then enter the following integer number into the next dialog box, representing 16 MB of RAM for the cache:

16000

Step 4. Click OK to close the dialog box, then close all instances of Firefox and restart it.

For a lengthy discussion of this option, see Mozillazine's forum topic 172041.

Move the disk cache to a faster or larger location
Many Windows users like to locate their disk cache files on a separate hard drive from Windows. This can improve the performance of Windows or whatever program is using the cache, or it can free up space on a primary partition. (The disk cache should not be confused with the RAM cache described above.)

To move Firefox's disk cache, use about:config to create a new preference. (This is another hidden preference that doesn't appear until you create it.)

Type browser.cache.disk.parent_directory into the dialog box that appears, then click OK. In the Value dialog box, enter c:\folder, providing the foldername in which you wish the file to be located.

This and other networking and cache settings are sparely documented by a Firefox developer called Ben C. on his NetPrefs page.

Force frames to be resizable on Web pages
If you visit Web sites that divide their pages into rectangular frames, but some of the frames aren't wide enough for you to see all of the words, you can tell Firefox to put borders around all frames so they're resizable.

To do this, use about:config to change layout.frames.force_resizability from "false" to "true."

Other preference settings
There are literally hundreds of possible preference settings that are accessible via about:config. Unfortunately, there's nothing in the help text that comes with Firefox 1.0 on these settings. A variety of user sites have sprung up to expound on these preferences, but their coverage is spotty and not completely trustworthy.

The best all-around explanation of most Firefox settings has been posted by a developer called GuruJ on his Documented Preferences page. This page also links to a Firefox extension named Preferential, currently in version 0.6.1a. This utility adds an Advanced Preferences item to Firefox's Edit menu, giving you a user interface to a vast array of settings that otherwise would require hand-editing.

Even the "Documented Preferences" page has many holes, which I hope the Mozilla Foundation will quickly and publicly fill in. For example, GuruJ's page describes many settings with a question mark, indicating that the true meaning of an item is unclear. This includes the "frames force resizability" setting I described above. (I had to determine the official stand on this option by contacting Ben Goodger, the foundation's lead Firefox engineer.) 

Tweaks for the ultimate in performance

There are several settings and options that can make Firefox run as a much faster browser. You should test these techniques before you roll them out to, say, a thousand workstations in your company.

Speeding up the maximizing of Firefox
By default, when you minimize Firefox, it gives back to Windows most of the RAM the browser was using. It sometimes can take several seconds for the browser window to become fully loaded when you restore the window to its original size. This is one of those "version 1.0" things, in my opinion, that will become more streamlined in future bump revs of the program.

Fortunately, there's a hidden setting that can accomplish the restoration of Firefox windows much more quickly:

Step 1. Use about:config to create a new, Boolean value. Type or paste the following string into the dialog box that appears:

config.trim_on_minimize

Step 2. Click OK to close the dialog box. Change the value from "true" to "false" and restart Firefox.

This doesn't piggishly retain all of the RAM that Firefox has claimed. If Windows needs more RAM to devote to another application, Windows can take it. What the setting does is prevent Firefox from giving up most of its RAM until the memory is actually required elsewhere.

Setting this item to "false" may noticeably slow down other applications while Firefox is minimized, if your PC has less than 256 MB of RAM. If so, change the setting back to "true."

There's an extremely long discussion about the development of this trick, going back to March 2004 (and continuing up through today), in Bugzilla bug report #76831. If you're determined to delve into this, I'd recommend starting with comment 329.

Use a "Moox" build that's customized for your CPU
A developer who goes by the name of Moox has compiled the Firefox code into separate executables, optimized for the instruction sets of different CPUs. This provides the biggest performance boost that I've seen (and also consider to be reliable). The developer's PDF white paper on the topic shows reductions of as much as 30% in the time required for Firefox to perform various tasks.

At this writing, there are three separate builds: one for Pentium 4 and AMD Opteron (and other CPUs), one for Pentium 3 and AMD Athlon MP, and one for Pentium 2 and AMD Athlon. The builds are free, of course.

To download the builds, see Moox's Mozilla page. 

The big kahuna: fast rendering of Web pages

The most sought-after performance improvements in any browser will always involve how quickly it downloads and renders Web pages. The good news is that Firefox (which is already pretty fast in its default configuration) includes numerous about:config settings that can improve the downloading and display of content. The bad news is that the optimum settings will differ from machine to machine, and there's no consensus on what they should be.

After extensive research, I haven't found a utility or even a well-tested explanation that can guarantee the optimum settings for any particular Windows scenario (Windows 2000 vs. XP, DSL vs. T1, etc.).

There are scores of Web sites that speculate on configuration settings that are said to speed up the browsing experience in Firefox. But these sites largely don't show that they've done adequate testing of the alternatives, much less explain how such tests might have been conducted.

One long discussion post, by a German power user who goes by the name of Laszlo, lists in Mozillazine numerous settings in the content, network, and nglayout sections of the Configuration Console. His post is followed by literally hundreds of comments on various tweaks. I don't feel there's a solid answer here yet.

Another stab at this issue has been undertaken by a poster who goes by the name of Achilles. He proposes four different configuration suites in his Firefox Tweak Guide, depending upon whether you have a slower or faster PC and a slower or faster Internet connection. Again, no testing details or benchmark figures are provided.

At this point, the optimum settings for Web browsing under various configurations must be considered a subject for further study. Firefox is plenty speedy as it is. My recommendation? Download Firefox and enjoy it with the improvements I've described above. I'll give you an update when something truly definitive comes out about this. 

Other resources

I haven't even touched in this article on several free, third-party extensions to Firefox that I believe are great enhancements. For a description, see my Nov. 23 Datamation column on Getting the Most Out of Firefox.

Finally, an excellent resource on Firefox annoyances and fixes is Michael Horowitz's always-entertaining Web site, ComputerGripes.com. His site features several pages on Firefox behaviors, good and bad, many of which have been fixed with the release of version 1.0 gold. He also criticizes several other Web sites that need programming improvements to work well with Firefox.

That's it for now. To send us more information about Firefox configuration settings, or to send us a tip on any other subject, visit WindowsSecrets.com/contact. You'll receive a gift certificate for a book, CD, or DVD of your choice if you send us a comment that we print.

^


FORWARDING INSTRUCTIONS — news gains value when it's shared 

Please share this information with your friends
You're encouraged to refer your friends and colleagues to this free newsletter. Because most e-mail programs don't correctly display a formatted message that's been forwarded, simply call people's attention to the permanent Web address of this issue: WindowsSecrets.com/041202.


HERE'S A TIP — you'll get a better newsletter if you choose the paid version

You're reading the free version of the Windows Secrets Newsletter
Subscribers to the paid version receive additional information in each issue. Some of the extras this week are:
  • Microsoft's Latest Patches. In this section, we analyze new Windows glitches and fixes from Microsoft and other companies. In this issue:

    • A patch for Windows' IFRAME hole is released off-schedule
    • Exploits attack WINS in some PCs
    • PCs without firewalls are infected in minutes, study finds

  • The Index of Reviews. We summarize the findings of product comparisons by the most respected testers in the business. In this issue:

    • Two reviewers test 30 different digital cameras
    • Experts pick the best camcorder format: Is it MiniDV, DVD, or SD?
    • The best of 24 different laptops in 5 categories
    • Five PCs win Editors' Choice in high-end and midrange categories
    • All-in-one PCs have evolved to become a serious choice
    • Pocket video players put TV in the palm of your hand
    • Wireless keyboard and mouse? Why not, but which maker is best?
    • Now take 20 to 80 GB of storage with you on tiny drives

  • This Week's Hot Tips. We give you the latest tricks to make Windows work. In this issue:

    • Firewall weaknesses leave users at risk
    • Advanced ad-blocking techniques
    • Remove IE's dangerous "Add to Restricted Zone" menu item
Paid subscribers gain access to all past paid newsletter content
Make a contribution to support our research into Windows and you'll immediately be able to read and search through scores of valuable articles. In addition, paid subscribers are entitled to download valuable content that we license for them at least once every calendar quarter.

To upgrade, simply make a contribution of any amount that you choose
If you do this by December 15, 2004, you'll instantly be sent the full, paid version of today's newsletter.

To upgrade to the paid version of Windows Secrets, please visit WindowsSecrets.com/upgrade. Thanks in advance.

^


ELECTRONIC BOOKSHELF — new e-books from the editors

e-book Spam-Proof Your E-Mail Address
This 27-page e-book by Brian Livingston gives you step-by-step instructions that can eliminate 97% of the spam that would otherwise clog your e-mail account. You could call it "Livingston's Spam Secrets." The PDF-format e-book is the result of months of experiments and tests we conducted. We now receive little or no spam to the addresses we used as guinea pigs. These tests show that you can actually reduce your volume of spam to practically nothing, not just battle an unstoppable and ever-growing flood. The methods we describe work with Windows, Apple, and Linux and don't require any filters or block lists — but you can use those in addition to the book's techniques, if you wish. More info


WACKY WEB WEEK — playing for you the Internet's greatest bits

12-sided 2005 calendar Print your own 12-sided 2005 calendar
For your end-of-year festivities, one Web site allows you to define your own 2005 calendar and print it out as a 3-dimensional, 12-sided object that will surely amaze your friends.

The shape is known as a pentagon dodecahedron (photo, left). No, it doesn't come out of your printer this way. You do have to cut and fold the thing. But Ole Arntzen's site could hardly make it any easier. You can select PostScript (for PostScript printers) or PDF (for any Windows printer, assuming you have the free Adobe Reader). The PDF format actually builds itself inside your browser window, after which you simply print as many copies as you like. Happy holidays! More info

^


USEFUL LINKS — more stuff that's good to  know

Getting the most out of Firefox
I'm a great advocate of Windows users switching from IE to Firefox. But IE users will run into a few, um, issues when they switch to the new kid on the block. I want to tell you today what those glitches are — and, more importantly, how to fix them so Firefox works for you. (By Brian Livingston, Datamation) More info 

Microsoft unleashes new MSN Services
Microsoft has announced three updated MSN services, including a public beta of MSN Spaces, the company's new blogging software; a public beta of MSN Messenger 7.0, its upcoming IM software revision; and updates to MSN Hotmail. (By Paul Thurrott, Windows IT Pro) More info 

Harvest time for spammers
Most Internet users aren't aware that spammers use software programs called harvesters to gather the hundreds of millions of e-mail addresses they spam. Now a group of "white hats" want to make harvesting too risky for spammers — and you can help. (By Brian Livingston, Datamation) More info

^


ABOUT YOUR SUBSCRIPTION — we're here to serve you

The Windows Secrets Newsletter (formerly Woody's Windows Watch and Brian's Buzz on Windows) is published twice a month, except for breaks in August and December. The newsletter is published on the Thursday one week before and one week after Microsoft releases its new Windows patches on the 2nd Tuesday of each month.

Publisher: The newsletter publisher is WindowsSecrets.com LLC, 300 Queen Anne Ave. N. #456, Seattle, WA 98109 USA. Vendors, please send no unsolicited packages to this address (readers' letters are fine).

Editor: Brian Livingston is the co-author of Windows 2000 Secrets, Windows Me Secrets, and eight other books. Associate Editor: Paul Thurrott is the author of Windows XP Home Networking and Great Digital Media with Windows XP and the author or co-author of several other books. Research Director: Vickie Stevens. Program Director: Ian Maddox.

Trademarks: "Windows" is a registered trademark of Microsoft Corporation. The "Windows Secrets" series of books is published by Wiley Publishing Inc. "The Windows Secrets Newsletter," "WindowsSecrets.com," "WinFind," "Windows Gizmos," "Index of Reviews," and "Wacky Web Week" are trademarks and service marks of WindowsSecrets.com LLC. All other marks are the trademarks or service marks of their respective owners.

How to subscribe: Anyone may subscribe to this newsletter by visiting WindowsSecrets.com/signup.

How to change your delivery address: To change your delivery address, log in at WindowsSecrets.com/prefs/?a=cP.

How to change your other preferences: To change from HTML format to a plain-text notification and to set other preferences, log in at WindowsSecrets.com/prefs.

How to get subscription help by e-mail (fastest method): Visit WindowsSecrets.com/contact. Subscription help by facsimile: 206-282-6312 (fax). Emergency subscription help by phone: 206-282-2536 (24 hours).

    How to unsubscribe:
    To unsubscribe from the Windows Secrets Newsletter,

    • Use this Unsubscribe link; or

    • Visit WindowsSecrets.com/unsubscribe.

All subscribers are covered by our Ironclad Privacy Guarantee: (1) We will never sell, rent, or give away your address to any outside party, ever; (2) We will never send you any unrequested e-mail, besides newsletter updates; and (3) All unsubscribe requests are always honored immediately, period. Privacy policy

Copyright © 2004 by WindowsSecrets.com LLC. All rights reserved.

^



Get the latest on Windows.

Enter your e-mail address to receive the free Windows Secrets Newsletter twice a month.

 
For instance: jan@example.com