Showing posts with label firefox. Show all posts
Showing posts with label firefox. Show all posts

Nov 2, 2022

Firefox Tuning

Once again, I need to tune my new Firefox browser settings.


Change settings with about:config:

Description Settings Values Default
To disable disk cache browser.cache.disk.enable false true
To disable disk cache on SSL browser.cache.disk_cache_ssl false true
To enable RAM cache browser.cache.memory.enable true true
To set RAM cache capacity based on 2GB physical memory browser.cache.memory.capacity 24576 -1


To view current memory cache usage, put about:cache?device=memory in the Location Bar.


Links:

Aug 21, 2022

Qualys BrowserCheck Summary

Visit to Qualys® BrowserCheck to perform a security analysis of your browsers and plugins. And it will run several system checks including the Top4 Security Controls.

 

Method 1 - Install plugin

  • Click the "Install Plugin" button.
  • Scan and view all the security issues.
  • Follow recommended steps to resolve each vulnerability found.  


Method 2 - Scan without installing plugin


Link:

Aug 20, 2022

Caret Browsing

This is a useful feature whenever you need to select text at a web page using you keyboard in Firefox browser.

This mode is known as Caret Browsing and you can toggle it by pressing F7.

When this setting is enabled, Firefox will display a movable cursor in web pages, allowing you to select text with the keyboard.

Or you may toggle this mode in the Settings page, Accessibility, Always use the cursor keys to navigate within pages.

Caret Browsing

Links:

Nov 5, 2021

UserAgent in FireFox

Today I just learnt that it is very easy to modify the user agent (UA) string in my Firefox browser.

  1. At the address bar, type: about:config
  2. Click the button "Accept the Risk and Continue"
  3. At the "Search preference name" bar, type: general.useragent.override
  4. Click at String and follow by "+"
  5. Type in any string that you prefer.
  6. Done.


Firefox UserAgent


To confirm the change, browse to WhatIsMyBrowser.com to verify the change !!


Dec 13, 2010

WebSockets disabled in Firefox 4

HTML5 will be one of the hottest topics this year (and may continue for next 2 years). One of the features is called WebSocket. WebSocket is a technology providing for bi-directional, full-duplex communications channels, over a single Transmission Control Protocol (TCP) socket. It is designed to be implemented in web browsers and web servers but it can be used by any client or server application.

Due to a desgin vulnerability in WebSocket protocol, Mozilla Foundation has disabled it in the forthcoming Firefox 4 Beta 8 release. The vulnerability, in the code for transparent proxies, can potentially be exploited to poison the proxy cache and inject manipulated pages.

A group of researchers described the problem on the IETF mailing list in November. In their POC, it could allow attackers to inject a specially crafted JavaScript for Google Analytics into the proxy's cache that will be returned to clients and executed in their browsers after every subsequent request.

In conventional connections, a client prompts a server to send data via GET or POST. WebSockets allow permanent connections between clients and servers and enable servers to independently send data to a client.

Currently, WebSocket (ver. 76) is already supported by Chrome and Safari.

Speed Up Firefox Page Loading Time

We all know that using RAM disk, we can force the browser to load cached images and data from memory instead of hard disk. However, Firefox can do this without RAM disk.

Here are the steps:

    1. Type about:config into the address bar
    2. Type browser.cache into the Filter field
    3. Set browser.cache.disk.enable to false (double click it)
    4. Set browser.cache.memory.enable to true (double click it)
    5. Right click > New > Integer; type browser.cache.memory.capacity; press OK
    6. Type in 100000 (this is equivalent to 100 megabytes); press OK
    7. Close all Firefox tabs and windows, and then restart the browser
    You may try using 500000 for 500 MB of cache, or -1 to tell Firefox to dynamically determine the cache size depending on how much RAM you have.

              Jul 16, 2008

              Save All Media Files (images, icons, embed flash) on a Web Page in Firefox 3

              Firefox 3 can save all of media files (graphics, pictures, photos, images, embedded flash video, icons) on the web page altogether at once simultaneously, without any plugin, extension, add-on or third party programs.

              To do so:
              • Click on the Site identification icon to the left of the Location Bar. Firefox Site Identification dialog is shown.
              • Click on the More Information… button to open "Page Info" dialog panel, follow by the Media tab.
              • Now, All elements such as background, image, icon and embed on the web pages are listed in the elements listing, together with their respective address link location. Some graphics come with a preview.
              • To download and save all file elements, press Ctrl-A to select all, then click on Save As.

              70+ Nice and Beautiful Firefox Wallpapers

              70+ Nice and Beautiful Firefox Wallpapers

              Good news for Firefox fans out there. If you are getting bored with your wallpaper, get something cool to spice up your desktop here.

              Jul 3, 2008

              Guinness World Record for Firefox

              Firefox is now holding a Guinness World Record for the most software downloaded in 24 hours. From 18:16 UTC on June 17, 2008 to 18:16 UTC on June 18, 2008, 8,002,530 people downloaded Firefox 3.
              Yeah!! I'm now now part of a World Record and the proud owner of the best version of Firefox!
              Here's the certificate I downloaded for helping in set a Guinness World Record. Don't forget to download your very own certificate too!!

              Jun 28, 2008

              Internet Explorer 6 Window "location" Handling Vulnerability

              Typical cross-site scripting (XSS) vulnerability found in IE6.



              The vulnerability is caused due to an input validation error when handling the "location" or "location.href" property of a window object. This can be exploited by a malicious website to e.g. open a trusted site and execute arbitrary script code in a user"s browser session in context of the trusted site.



              POC:

              http://raffon.net/research/ms/ie/crossdomain/string.html



              Recommendation:


              • To company: Upgrade to IE7.

              • To user: Switch to Firefox.




              References:


              • http://www.f-secure.com/vulnerabilities/SA30857

              • http://www.f-secure.com/weblog/archives/00001463.html

              Jun 17, 2008

              Download Firefox 3 NOW

              The official date for the launch of Firefox 3 is June 17, 2008. Although the Firefox homepage at Mozilla site still show the current stable download version as 2.0.0.14, you can actually start download the version 3 using the link below (Windows version):

              http://download.mozilla.org/?product=firefox-3.0&os=win&lang=en-US

              You can also help to set a Guinness World Record by simply goto http://www.spreadfirefox.com/en-US/worldrecord/

              Mar 31, 2008

              When FireFox 2.0 Meets with JavaScript

              Just come across a Firefox extension, called FFsniFF. This is a NOT a password sniffer which can sniff password. See the reference links below for more information.

              The question here is not whether it is a password sniffer or not, it is about how do I get rid of it once I installed since it is hidden from the FF Extension Manager? Chicken and egg problem.

              Finally, I've no choice but to do it manually. Here's how I remove/disable it manually:
              1. Close your FF blowser and locate your FF user profile folder. Eg: %APPDATA%\Mozilla\Firefox\Mozilla\Profiles\[User Profile]\[random string].default\
              2. Go into subfolder "extensions\{66cdf40a-d0f2-46d0-abf4-eccba8205aef}\chrome". You should see a file called "ffsniff.jar"
              3. Find an unpacker (Eg. 7-zip) to unpack the "ffsniff.jar".
              4. Once unpack, go into "content\ffsniff\" folder and look for a file called "ffsniffOverlay.js".
              5. Edit the file with notepad. Goto the bottom (line 119), remark the line "hide_me();" with two slashes "//" (without the quote) in front.
              6. Save and close the file and put everything back to "ffsniff.jar".
              7. Start your FF broswer now and goto the Extension Manager, you should be able to see the extension called "FFsniFF 0.2".
              8. Now you can disable it.
              Reference links:
              • Disable FFsniFF Manually - J.Track
              • http://jtrack.blogspot.com/2008/03/disable-ffsniff-manually.html
              • FFsniFF Homepage
              • http://azurit.gigahosting.cz/ffsniff/
              • http://azurit.elbiahosting.sk/ffsniff/
              • Vulnerability Summary CVE-2006-6585
              • http://nvd.nist.gov/nvd.cfm?cvename=CVE-2006-6585
              • SecurityFocus
              • http://www.securityfocus.com/archive/1/archive/1/454058/100/0/threaded

              Jun 4, 2007

              The secrets of about:config

              May 29, 2007 (Computerworld) Ever since its debut, Firefox has garnered a reputation for being an enormously customizable program, both through its add-on architecture and its internal settings. In fact, many of Firefox's settings aren't exposed through the Tools > Options menu; the only way to change them is to edit them manually. In this article, we'll explore some of the most useful Firefox settings that you can change on your own, and that aren't normally available through the program's graphical interface.

              The closest analogy to how Firefox manages its internal settings is the Windows Registry. Each setting, or preference, is given a name and stored as a string (text), integer (number) or Boolean (true/false) value. However, Firefox doesn't keep its settings in the registry, but in a file called prefs.js. You can edit prefs.js directly, but it's often easier to change the settings through the browser window.

              Type about:config in the address bar and press Enter, and you'll see all the settings currently enumerated in prefs.js, listed in alphabetical order. To narrow down the hundreds of configuration preferences to just the few you need, type a search term into the Filter: bar. (Click the Show All button or just clear the Filter: bar to get the full list back again.)

              To edit a preference, double-click on the name and you'll be prompted for the new value. If you double-click on an entry that has a Boolean value, it'll just switch from true to false or vice versa; double-click again to revert to the original setting. Not all changes take effect immediately, so if you want to be absolutely certain a given change is in effect, be sure to close and reopen Firefox after making a change.

              Note that not every setting in about:config exists by default. Some of them have to be created manually. If you want to add a new preference, right-click somewhere on the page and select New, then select the type of item to create (String, Integer or Boolean) and supply the name and value.

              Before you begin

              Here are a few caveats to keep in mind as you explore and tweak:

              Not everyone will get the same benefits by enabling these tweaks. This is especially true for changing the network settings. If you habitually visit sites that don't allow a large number of connections per client, for instance, you won't see much benefit from raising the number of connections per server.

              Some hacks may have a limited shelf life. With each successive release of Firefox, the need for tweaking any of the performance-related config settings (like the network settings) may dwindle as Firefox becomes more self-tuning based on feedback from real-world usage scenarios. In short, what works now may not always work in the future -- and that might not be a bad thing.

              Keep a log of everything you change, or make backups. If you tweak something now and notice bizarre activity in a week, you'll want to be able to track back to what was altered and undo it. Firefox does show which about:config changes have been set manually, but this isn't always the most accurate way to find out what you changed.

              To make a backup of your preferences in Firefox, just make a copy of the file prefs.js, which is kept in your Firefox profile folder. If you mess something up, you can always copy this file back in. (Be sure to shut down Firefox before making a copy of prefs.js or moving a copy back into the profile folder!)

              In Windows XP, the profile folder is
              \Documents and Settings\\Application Data\Mozilla\Firefox\Profiles\.default\

              In Windows Vista, this folder is
              \Users\\AppData\Roaming\Mozilla\Firefox\Profiles\.default\

              Note that Application Data and AppData are hidden folders by default, so they may not show up unless you force Explorer to show hidden objects. (Open the Control Panel, double-click Folder Options, select the View tab, select "Show hidden files and folders" and click OK.)

              In Mac OS X, the profile folder is
              /Library/Application Support/Firefox/Profiles/.default/

              and in Linux it's
              ~/.mozilla/firefox/.default/

              but on those platforms it's usually quicker simply to search for prefs.js.

              Alternatively, you can use the handy Firefox Extension Backup Extension (FEBE). It backs up not only the prefs.js file but just about every other thing in Firefox -- extensions, themes, cookies, form history and so on.

              Speed up page display

              Some of the more recent Firefox customizations I've examined are ways to speed up the rendering of Web pages. The settings to do this are a little arcane and not terribly self-explanatory, but with a little tinkering, you can often get pages to pop up faster and waste less time redrawing themselves.

              Start rendering pages faster
              Creating an nglayout.initialpaint.delay integer preference lets you control how long Firefox waits before starting to render a page. If this value isn't set, Firefox defaults to 250 milliseconds, or .25 of a second. Some people report that setting it to 0 -- i.e., forcing Firefox to begin rendering immediately -- causes almost all pages to show up faster. Values as high as 50 are also pretty snappy.

              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.

              Control Firefox's 'unresponsive' time
              When rendering a page, Firefox periodically runs a little faster internally to speed up the rendering process (a method Mozilla calls "tokenizing"), but at the expense of being unresponsive to user input for that length of time. If you want to set the maximum length of time any one of these unresponsive periods can be, create an integer preference called content.max.tokenizing.time.

              Set this to a multiple of content.notify.interval's value, or even the same value (but higher is probably better). If you set this to something lower than content.notify.interval, the browser may respond more often to user input while pages are being rendered, but the page itself will render that much more slowly.

              If you set a value for content.max.tokenizing.time, you also need to create two more Boolean values -- content.notify.ontimer and content.interrupt.parsing -- and set them both to true.

              Control Firefox's 'highly responsive' time
              If Firefox is rendering a page and the user performs some kind of command, like scrolling through a still-loading page, Firefox will remain more responsive to user input for a period of time. To control how long this interval is, create an integer preference called content.switch.threshold.

              This is normally triple the value of content.notify.interval, but I typically set it to be the same as that value. Set it to something very low -- say, 10000 (10,000 microseconds) -- and the browser may not respond as snappily, but it may cause the rendering to complete more quickly.

              If you haven't already created the Boolean values content.notify.ontimer and content.interrupt.parsing and set them both to true in conjunction with content.max.tokenizing.time, you'll need to do so to make content.switch.threshold work properly.

              If you are more inclined to wait for a page to finish loading before attempting to do anything with it (like scroll through it), you can set content.max.tokenizing.time to a higher value and content.switch.threshold to a lower value to allow Firefox to finish rendering a page faster at the expense of processing user commands. On the other hand, if you're the kind of person who likes to scroll through a page and start reading it before it's done loading, you can set content.max.tokenizing.time to a lower value and content.switch.threshold to a higher one, to give you back that much more responsiveness at the cost of page-rendering speed.

              Have tabbed browsing your way

              Right from the start, one of Firefox's strengths has been tabbed browsing. But if the tabs don't behave quite the way you want them to by default, or you hate the way the default behaviors have changed since Firefox 1.x, the following changes will bring them in line.

              Corral close buttons
              The integer preference browser.tabs.closeButtons controls how the close buttons (the "X" icons) are rendered on tabs:

              0: Display a close button only on the currently active tab. This is a nice way to keep from accidentally smacking into a close button for the wrong tab.

              (You can press Ctrl-F4 to close only the current tab, but many mouse-centric people never bother to do this.)

              1: Display close buttons on all tabs (default).

              2: Don't display any close buttons; the only way to close a tab is by pressing Ctrl-F4.

              3: Display one close button at the end of the tab bar (Firefox 1.x's default).

              Open search results in a new tab

              This one is a favorite of mine. When browser.search.openintab (a Boolean preference) is set to true, any searches launched from the Search tool bar are opened in a new tab instead of overwriting the contents of the current one. I can't tell you the number of times I mistakenly wiped out my current page before I started using this.

              Note that if you launch a new browser window with Ctrl-N and perform a search there, you'll see the search results and the default home page for the new browser instance loading in separate tabs.

              Open bookmark groups in new tabs
              If you open a group of bookmarks at once, Firefox's default behavior is to replace any existing tabs with the newly opened pages. Set browser.tabs.loadFolderAndReplace (Boolean) to false, and opening groups of bookmarks will append new tabs to the existing window instead of overwriting existing ones.

              Squeeze more tabs into the tab bar
              The integer preference browser.tabs.tabMinWidth controls how narrow, in pixels, tabs can be shrunk down before scroll arrows appear on the left and right edges of the tab bar.

              The default is 100, but you can set this to something smaller so you can fit more tabs in the bar at once. Note, however, that you might find the shortened titles harder to read.

              In the same vein, the integer preference browser.tabs.tabClipWidth sets the minimum width, in pixels, that a tab must be in order to show a close button. This is 140 by default, so if you set this to something lower, you'll see more tabs with close buttons when the tab bar is heavily populated.

              Make the user interface behave

              Another big reason people hack Firefox's settings is to modify the user interface -- either to make it a little easier to do something, or to revert to a behavior that was prevalent in Version 1.x but changed in 2.0.

              Get case-sensitive, in-page searches
              The integer preference accessibility.typeaheadfind.casesensitive controls how Firefox's "Find as You Type" feature behaves. The default is 0 for case-insensitive searches; set it to 1 for case-sensitive matching.

              Control address bar searches
              You may have noticed that if you type something into Firefox's address bar that's not an address (a "keyword"), Firefox typically passes it on to Google as an "I'm Feeling Lucky" search term. The exact search engine string to use is defined in the string preference keyword.URL; if you want to change it to something else, you can simply edit this string.

              For instance, to make Microsoft's Live.com the default keyword search, set this string to
              http://search.live.com/results.aspx?q=

              For a Yahoo search, it would be
              http://search.yahoo.com/search?p=

              If you want to restore the default search, use
              http://www.google.com/search?ie=UTF-8&oe=
              UTF-8&sourceid=navclient&gfns=1&q=

              Finally, if you want to turn this address-bar keyword functionality off altogether, set the Boolean preference keyword.enabled to false.

              Note that with Google, the more generic the keyword, the less likely it is to be used as an "I'm Feeling Lucky" search -- although what constitutes "generic" isn't always clear. For instance, typing "clean" into the address bar returns a generic Google search page, but "sideways" takes me to the Internet Movie Database entry for the movie of that name (the "I'm Feeling Lucky" result). Your mileage will almost certainly vary.

              Select just a word
              The Boolean preference layout.word_select.eat_space_to_next_word governs one of Firefox's tiny, but for me incredibly annoying, little behaviors. When you double-click on a word in a Web page to select it, Firefox automatically includes the space after the word. Most of the time I don't want that; I just want the selection to stop at the end of the word. Setting this to false will defeat that behavior.

              Select a word and its punctuation
              Somewhat contrarily, if you double-click a word that's next to any kind of punctuation mark, Firefox defaults to selecting only the word itself, not its adjacent punctuation. Set the Boolean preference layout.word_select.stop_at_punctuation to false to select the word and its adjacent punctuation.

              Get Alt-hotkey shortcuts back
              One minor change in Firefox 2 was the way in which form elements on a Web page had hotkey bindings assigned to them. In Firefox 1.x, when a Web page assigned a hotkey to a form element, you pressed Alt-hotkey to access it. In Version 2.x, this was changed to Alt-Shift-hotkey. To revert to the original 1.x behavior, set the integer preference ui.key.contentAccess to 4. This is useful if you have, for instance, a Web-based interface you spend a lot of time in, and use Alt-key bindings to do things quickly in that particular page.

              Note that one possible consequence of setting this back to the old behavior is that Alt-key bindings on a Web page can now override the default key sequences for the program itself (such as Alt-S for History), but you can always get around this by tapping Alt to activate the menu and then tapping the program hotkey in question.

              Change scrollbar behavior
              By default, clicking in the empty areas of the Firefox window's scrollbar will simply cause the view to move up or down one page. You can change this behavior by creating a Boolean preference called ui.scrollToClick and setting its value to true. Now clicking in a scrollbar will cause the view to jump directly to that point in the page (basically the same as dragging the scrollbar to that position).

              Get click-and-hold context menus back (for Macs only)
              If you want to restore the classic click-and-hold context-menu behavior on the Macintosh, edit or create the Boolean preference ui.click_hold_context_menus and set it to true.

              Hack network connections

              The very first batch of Firefox hacks I learned about was how to override its network defaults. Some of Firefox's out-of-the-box settings for how it deals with network connections are fairly conservative, probably because Firefox has no way of knowing what kind of network it's using (dial-up vs. broadband, etc.). If you have a network that readily supports multiple simultaneous connections, you can make a number of changes to Firefox to take advantage of that.

              But proceed with caution. If Firefox's network settings are set too aggressively, they can lead you to being blacklisted for a short time by a given remote server. And you should certainly get permission from the IT department before attempting this kind of hack in a corporate environment. Regardless, moderation is the key. For the most part, I find that setting the network settings to absurdly high numbers does not accomplish much of anything; it helps to ramp them up a bit, but generally not much more than that.

              Maximize connections to multiple servers
              The integer preference network.http.max-connections controls how many simultaneous network connections Firefox will make at any one time to any number of Web servers. One typical way this pays off is if you have Firefox set to load multiple home pages in different tabs at once, or if you access pages that aggregate contents from several different servers (for instance, multiple advertising systems).

              By default, this is set to 24, which should work well for most network connections, but you can raise it to 32 and see if that has any effect. (I've seen people raise this as high as 64, but anything above 32 doesn't seem to provide much discernible payoff.)

              Maximize connections to the same server
              The integer preference network.http.max-connections-per-server controls how many separate connections Firefox makes to the same server, which allows multiple elements in a page to be downloaded in parallel. Normally, this is set to 8, but some people choose to set it as high as 16.

              Note, however, that some Web servers will block you if you try to establish more than 8 inbound connections, typically as a bandwidth-protection or antileeching measure -- this is the kind of behavior also exhibited by download managers that try to use as many "slots" as possible to speed things up, and many server admins hate that sort of thing. Also, if you're on a connection that's not fast to begin with (e.g., slow ISDN or dial-up), changing this setting will have no discernible effect, and may in fact slow things down.

              Bump up persistent connections per server
              Firefox keeps persistent connections to a server "alive" to improve performance: Instead of simply sending the results of one request and then closing, they're held open so that multiple requests can pass back and forth. This means a little less network traffic overall, since a connection to a given server has to be set up only once, instead of once for each separate piece of content; it also means successive connections to the same server go through faster.

              The integer preference network.http.max-persistent-connections-per-server controls the number of persistent connections allowed per server. By default, this is set to 2, although some servers will honor a higher number of persistent connections (for instance, if there's a lot of content from their site that loads in parallel, like images or the contents of frames). You probably only want to go as high as 8 with this; more than that may cause a server to temporarily blacklist your IP address depending on how it's configured. (If you're going through a proxy defined by Firefox, use network.http.max-persistent-connections-per-proxy instead of this setting.)

              Reduce the interval between persistent connections
              If you've already used up all the persistent server connections described in the above setting and Firefox needs to make more connections, the integer setting network.http.request.max-start-delay governs how long to wait before attempting to open new connections. This helps if Firefox's persistent-connection limit has been used up by a number of long downloads, and the browser needs to queue a shorter download on top of that.

              Most people set this to 0 (in seconds), with the default being 10. Note that this does not override connection limits imposed by remote hosts, so its usefulness is limited by the whim of the server you're connecting to.

              Turn on pipelining
              The Boolean preference network.http.pipelining enables an experimental acceleration technique called "pipelining," which speeds up the loading of most Web pages. A browser normally waits for some acknowledgment of a given request from a server before attempting to send another one to that server; pipelining sends multiple requests at once without waiting for responses one at a time.

              If you turn this on (that is, set its value to true), also be sure to create or edit the integer preference network.http.pipelining.maxrequests, which controls the maximum number of requests that can be pipelined at once. 16 should do it; some people go as high as 128 but there's not much evidence it'll help. (If you use a proxy, set network.http.proxy.pipelining to true as well.)

              Note that not every Web server honors pipelining requests correctly, which is why this feature is turned off by default and still considered experimental. Some sites may behave strangely if you submit pipelined requests.

              Stop memory hogging

              The default way the Windows version of Firefox consumes memory can be alarming if you don't know what's really going on. People routinely report a memory "footprint" of 75MB to 100MB or more with only a few windows or tabs open, and they assume a memory leak is to blame. While earlier versions of Firefox did have memory leak bugs, they're not the reason for this kind of memory consumption in Firefox 2.x.

              Here's what's happening: Firefox caches recently used objects -- Web pages, images -- in memory so that they can be re-rendered on-screen quickly, which drives up memory usage. The following tweaks can make Firefox stake out memory less aggressively. (Note, however, that lightening the memory load might make your pages load a bit more slowly than you're used to.)

              Reduce graphics caching
              When the Boolean preference browser.cache.memory.enable is enabled (the default), Firefox keeps copies of all graphical elements from the current browsing session in memory for faster rendering. You can set this to false to free up more memory, but pages in your history will reload less quickly when you revisit them.

              Another option: Set the value to true and create a new integer preference called browser.cache.memory.capacity. Then specify, in kilobytes, how much memory to set aside for graphics caching. That way you get some of the speed benefits that graphics caching provides without taking a huge memory hit. If you use -1 as the memory value, Firefox will size the memory cache based on how much physical RAM is present.

              Reduce Web page caching
              Firefox caches several recently visited Web pages in memory so they don't have to be regenerated when you press Back or Forward. The integer setting browser.sessionhistory.max_total_viewers determines how many individual Web pages to store in the back/forward cache; each page takes about 4MB (or 4,000KB) of RAM.

              By default, however, this value is set to -1, which determines how many pages to cache from the amount of available physical memory; the maximum number of pages stored when you use -1 is 8. Set this value to 0 to disable page caching entirely. That will save some memory, but will also cause Back and Forward navigation to slow down a bit.

              Note that this caching is not the same as browser.cache.memory.enable: That setting is for rendering elements on pages like graphics and buttons, and the contents of https-encoded pages, while this setting is for caching the text content of Web pages that have already been rendered or "tokenized."

              Swap out to disk memory when minimized (Windows only)
              A little-known feature in Firefox allows the Windows memory manager to swap out some of Firefox's physical memory space to disk when Firefox is minimized but not closed. This allows other programs to use the physical memory that Firefox was previously monopolizing.

              By default, this feature is turned off, for two reasons: 1) PC memory is generally more plentiful than it used to be, so it makes sense to use it if it's available, and 2) swapping Firefox's memory out to disk will slow the program down when it's restored.

              That said, if you run Firefox side by side with other memory-hungry applications, it might help keep them from competing with each other. To enable this feature, create a new Boolean preference called config.trim_on_minimize and set its value to true.

              Got your own about:config tweaks to share? Add them to the Comments area at the bottom of the page. If you've got the itch to learn more about about:config settings, MozillaZine's about:config entries wiki is a great source of information.

              Serdar Yegulalp writes about Windows and related technologies for a number of different publications, including his own Windows Insight blog.