

Grail Knight



Premium Member

join:2003-05-31

Valhalla 4 edits 2 recommendations Grail Knight Premium Member Tweaking for Fun/Speed - Fx v3 Series





As before the same rules apply and instructions on how to use or create the user.js are here.



Speed Tweaks not much different then for v2.

-----------------------------------------------

user_pref("config.trim_on_minimize", true);

user_pref("content.interrupt.parsing", true);

user_pref("content.max.tokenizing.time", 2250000);

user_pref("content.maxtextrun", 8191);

user_pref("content.notify.backoffcount", 5);

user_pref("content.notify.interval", 750000);

user_pref("content.notify.ontimer", true);

user_pref("content.switch.threshold", 750000);



user_pref("network.http.max-connections", 48);

user_pref("network.http.max-connections-per-server", 32);

user_pref("network.http.max-persistent-connections-per-proxy", 20);

user_pref("network.http.max-persistent-connections-per-server", 20);



user_pref("network.http.pipelining", true);

user_pref("network.http.pipelining.firstrequest", true);

user_pref("network.http.proxy.pipelining", true);

user_pref("network.http.pipelining.maxrequests", 8);

user_pref("nglayout.initialpaint.delay", 100);



user_pref("network.http.keep-alive", true);

user_pref("network.http.keep-alive.timeout", 600);

user_pref("network.http.request.max-start-delay", 10);

user_pref("network.dnsCacheExpiration", 3600);

user_pref("network.dnsCacheEntries", 1000);



user_pref("browser.sessionhistory.max_total_viewers", 3);

-----------------------------------------------------------------

* This pertains to the tweak contained in the above Speed Tweaks



user_pref("config.trim_on_minimize", true);



Setting this to true may slow down maximizing from the tray if FireFox depending on the users computers memory. Set it to false if you find that FireFox is slow to maximize from the tray.



------------------------------------------------------------



This tweak will disable favicons in the NewsFox Extension.



user_pref("newsfox.advanced.favicons", false);

-------------------------------------------------------------------------

Some minor privacy/security tweaks for those into that sort of thing.



user_pref("browser.cache.disk_cache_ssl", false);



user_pref("browser.microsummary.enabled", false);

user_pref("browser.microsummary.updateGenerators", false);

--------------------------------------------------------

Now this tweak depends on how much ram a user has installed so check the specs below and adjust the value accordingly. These are from Fx v2 but I have read of no changes in memory values for Fx v3 beta and these work fine for me. YMMV so experiment.



user_pref("browser.cache.memory.capacity", 18432);

------------------------------

Usable values:



Physical RAM Memory Cache (in KB)

32 MB 2048

64 MB 4096

128 MB 6144

256 MB 10240

512 MB 14336

1 GB 18432

2 GB 24576

4 GB 30720

8 GB and up 32768



Do not cache decoded images and chrome in memory. 0

---------------------------------------------------

GUI Tweaks to hide or show things or keep them from starting.



user_pref("browser.chrome.favicons", false);

user_pref("browser.chrome.site_icons", false);

user_pref("browser.display.show_image_placeholders", true);



user_pref("accessibility.accesskeycausesactivation", false);

user_pref("accessibility.typeaheadfind.enablesound", false);

user_pref("accessibility.typeaheadfind.autostart", false);

user_pref("accessibility.typeaheadfind", false);

-----------------------------------------------------

The new Awesome Bar feature may not be liked by some so it can be tweaked a bit.



user_pref("browser.urlbar.maxRichResults", 20);



Default is 25



user_pref("browser.urlbar.matchOnlyTyped", false);



Setting this to true will only search for previously typed addresses.



If the user really wants the old Fx v2 address bar use the Old Bar extension available from here.



»addons.mozilla.org/en-US ··· don/6227

-------------------------------------------------------

Seeing how the new Awesome Bar (Address Bar) is not hitting it off with some here is another tweak.



Disable the AwesomeBar and make the Fx v3 Address Bar work like the Fx v2 Address Bar series.



Type about:config in the address bar (Enter)



Filter to:



browser.urlbar.maxRichResults



Set the value to "0" w/out quotes.



From MoFo: quote: Setting the preference to 0 effectively disables the Location Bar dropdown entirely. -------------------------------------------------------



Make sure you restart Fx after applying any of the tweaks and if they do not take check your entries in the user.js to make sure you did not miss any punctuation.



Anything here can be found searching Mozilla Foundations Site or just Google each entry and read up on it. Well it is time to tweak Fx v3 series.-----------------------------------------------user_pref("config.trim_on_minimize", true);user_pref("content.interrupt.parsing", true);user_pref("content.max.tokenizing.time", 2250000);user_pref("content.maxtextrun", 8191);user_pref("content.notify.backoffcount", 5);user_pref("content.notify.interval", 750000);user_pref("content.notify.ontimer", true);user_pref("content.switch.threshold", 750000);user_pref("network.http.max-connections", 48);user_pref("network.http.max-connections-per-server", 32);user_pref("network.http.max-persistent-connections-per-proxy", 20);user_pref("network.http.max-persistent-connections-per-server", 20);user_pref("network.http.pipelining", true);user_pref("network.http.pipelining.firstrequest", true);user_pref("network.http.proxy.pipelining", true);user_pref("network.http.pipelining.maxrequests", 8);user_pref("nglayout.initialpaint.delay", 100);user_pref("network.http.keep-alive", true);user_pref("network.http.keep-alive.timeout", 600);user_pref("network.http.request.max-start-delay", 10);user_pref("network.dnsCacheExpiration", 3600);user_pref("network.dnsCacheEntries", 1000);user_pref("browser.sessionhistory.max_total_viewers", 3);-----------------------------------------------------------------user_pref("config.trim_on_minimize", true);Setting this to true may slow down maximizing from the tray if FireFox depending on the users computers memory. Set it to false if you find that FireFox is slow to maximize from the tray.------------------------------------------------------------This tweak will disable favicons in the NewsFox Extension.user_pref("newsfox.advanced.favicons", false);-------------------------------------------------------------------------user_pref("browser.cache.disk_cache_ssl", false);user_pref("browser.microsummary.enabled", false);user_pref("browser.microsummary.updateGenerators", false);--------------------------------------------------------Now this tweak depends on how much ram a user has installed so check the specs below and adjust the value accordingly. These are from Fx v2 but I have read of no changes in memory values for Fx v3 beta and these work fine for me. YMMV so experiment.user_pref("browser.cache.memory.capacity", 18432);------------------------------Usable values:Physical RAM Memory Cache (in KB)32 MB 204864 MB 4096128 MB 6144256 MB 10240512 MB 143361 GB 184322 GB 245764 GB 307208 GB and up 32768Do not cache decoded images and chrome in memory. 0---------------------------------------------------user_pref("browser.chrome.favicons", false);user_pref("browser.chrome.site_icons", false);user_pref("browser.display.show_image_placeholders", true);user_pref("accessibility.accesskeycausesactivation", false);user_pref("accessibility.typeaheadfind.enablesound", false);user_pref("accessibility.typeaheadfind.autostart", false);user_pref("accessibility.typeaheadfind", false);-----------------------------------------------------The new Awesome Bar feature may not be liked by some so it can be tweaked a bit.user_pref("browser.urlbar.maxRichResults", 20);Default is 25user_pref("browser.urlbar.matchOnlyTyped", false);Setting this to true will only search for previously typed addresses.If the user really wants the old Fx v2 address bar use the Old Bar extension available from here.-------------------------------------------------------Seeing how the new Awesome Bar (Address Bar) is not hitting it off with some here is another tweak.Disable the AwesomeBar and make the Fx v3 Address Bar work like the Fx v2 Address Bar series.Type about:config in the address bar (Enter)Filter to:browser.urlbar.maxRichResultsSet the value to "0" w/out quotes.From MoFo:-------------------------------------------------------Make sure you restart Fx after applying any of the tweaks and if they do not take check your entries in the user.js to make sure you did not miss any punctuation.Anything here can be found searching Mozilla Foundations Site or just Google each entry and read up on it.



OperaSoundsBaD

@comcast.net OperaSoundsBaD Anon Re: Tweakin for Fun/Speed Update Hey Grail knight, I noticed three sets of tweaks but am not sure which of the 3 to use for tweaking? I'm a new firefox user and it has completely awakened my interest in the net again- no more I.E., by the way I'm using V. 2.0.0.12, should I use the 1st which you posted back in april of 07, or the updated one that you posted on 9 of 07. I'm not very technical but that's what I love about FireFox- Its so easy to customize!



Grail Knight



Premium Member

join:2003-05-31

Valhalla 1 edit Grail Knight Premium Member



»Re: [FireFox] Tweak Updated



Edit* Removed Fx v2 tweaks and put link to them instead to keep them separate from the ones above. Use these:Edit* Removed Fx v2 tweaks and put link to them instead to keep them separate from the ones above.



OperaSoundsBaD

@comcast.net OperaSoundsBaD Anon Thank you so much, I can't wait to try them out and see the difference!

ajm7862

join:2006-10-07

College Park, MD ajm7862 to Grail Knight

Member to Grail Knight

Re: Tweaking for Fun/Speed - Fx v3 Series I have a question. Will there be any problems caused if I use these tweaks for Firefox 2?



Thanks!



mod_wastrel

anonome

join:2008-03-28 mod_wastrel to Grail Knight

Member to Grail Knight

I might argue that the very first one in the list (config.trim_on_minimize) will actually slow you down some rather than speed up things (but I won't ;D)--it sort of contravenes Firefox's desire to be a memory hog (Fx2 anyway); freeing and getting memory is at least some administrative overhead versus simply not freeing it at all.



I actually played around with this some because I noticed a problem with my minimize button ceasing to function after awhile when this preference was on/true. First I thought it might be a conflict with some extension, so I played with it in a vanilla Fx: same thing after awhile. Oddly, the Minimize option in the control menu still worked fine even when the button didn't. But this was some releases ago, and I found that just doing a restart when I felt memory consumption exceeded my desired level worked fine. However, the "memory hog" problem is supposed to be resolved (?) in Fx3... here's hopin'.



Grail Knight



Premium Member

join:2003-05-31

Valhalla 2 recommendations Grail Knight Premium Member



Disable the AwesomeBar and make the Fx v3 Address Bar work like the Fx v2 Address Bar series.



Type about:config in the address bar (Enter)



Filter to:



browser.urlbar.maxRichResults



Set the value to "0" w/out quotes.



From MoFo: quote: Setting the preference to 0 effectively disables the Location Bar dropdown entirely. Seeing how the new Awesome Bar (Address Bar) is not hitting it off with some here is another tweak.Disable the AwesomeBar and make the Fx v3 Address Bar work like the Fx v2 Address Bar series.Type about:config in the address bar (Enter)Filter to:browser.urlbar.maxRichResultsSet the value to "0" w/out quotes.From MoFo:

Bobby_Peru

Premium Member

join:2003-06-16 Bobby_Peru Premium Member Which brings up a few questions - I wonder if this eliminates this type of "history" from being stored somewhere in Fx? If not, can it be selectively scrubbed?



Under PRIVACY--> History: neither unticking "Keep My History...", nor ticking it, and setting it at "0 Days" killed off the "Awesome Bar's" (not quite as bad marketing panache as "From Those Wonderful Folks Who Gave You Pearl Harbor"...) display of history, and the ability to select which data entry areas of Forms and the Search Bar appear to now be conflated. Now that is an awesome tweak.Which brings up a few questions - I wonder if this eliminates this type of "history" from being stored somewhere in Fx? If not, can it be selectively scrubbed?Under PRIVACY--> History: neither unticking "Keep My History...", nor ticking it, and setting it at "0 Days" killed off the "Awesome Bar's" (not quite as bad marketing panache as "From Those Wonderful Folks Who Gave You Pearl Harbor"...) display of history, and the ability to select which data entry areas of Forms and the Search Bar appear to now be conflated.



Grail Knight



Premium Member

join:2003-05-31

Valhalla 1 edit Grail Knight Premium Member I know when I close Fx that my histories are cleared and the address bar history is always flushed.



I personally like the new Awesome Bar as it eliminates having the bookmark bar allowing for more screen space and it is so much faster going through my 1000+ bookmarks and history well surfing. YMMV



Edit* Spelling

Bobby_Peru

Premium Member

join:2003-06-16 Bobby_Peru Premium Member



I can definitely see the gain of space as a positive, though with Compact Menu, Piro's Tree-Tabs on the left side (still experimenting with it's new Auto-hide feature), and Window's Toolbar on the right (always on Auto-Hide), on my "ancient" 18" CRT (17" usable), it's really horizontal space that is at a premium, here, at least. Plus, I do Tab-Group openings, which I don't think the new Bar will handle, though I haven't looked to try so, yet.



I know what you mean about having so many bookmarks. Which reminds me to do a dead and unwanted duplicate check, again, sometime soon!



I will give the AB a whirl again, at some point, as like you said, it has it's benefits!



That's the beauty of Fx, each user can customize it to a close approximation of how they would like it (which brings up an Extension that I recently saw for the first time, iMacros, but that is for another Thread...). Hmmm, I will have to recheck then when I close Fx, which I do not do very often. I am pretty certain that prior to making your above posted ALT-C change, the Awesome Bar (umm, AB, sorry AB ...), it retained some data, but I may be mistaken.I can definitely see the gain of space as a positive, though with Compact Menu, Piro's Tree-Tabs on the left side (still experimenting with it's new Auto-hide feature), and Window's Toolbar on the right (always on Auto-Hide), on my "ancient" 18" CRT (17" usable), it's really horizontal space that is at a premium, here, at least. Plus, I do Tab-Group openings, which I don't think the new Bar will handle, though I haven't looked to try so, yet.I know what you mean about having so many bookmarks. Which reminds me to do a dead and unwanted duplicate check, again, sometime soon!I will give the AB a whirl again, at some point, as like you said, it has it's benefits!That's the beauty of Fx, each user can customize it to a close approximation of how they would like it

deltau1

join:2000-10-03

Lake Forest, CA deltau1 to Grail Knight

Member to Grail Knight

Is the user.js file the same as userchrome.css ??? GK

Instructions say to save file as userchrome.css rather than user.js Is there any reason not to save the tweak file as userchrome.css??? or should it be named user.js and saved in the profile directory/chrome???



timcuth

Braves Fan

Premium Member

join:2000-09-18

Pelham, AL Netgear CM600

Netgear R7800

Netgear R6300 v2

timcuth to Grail Knight

Premium Member to Grail Knight

Re: Tweaking for Fun/Speed - Fx v3 Series



What is happening?



Oh, and thanks very much for the tweaks, Grail Knight



Tim I am a bit confused. I created a new user.js file and copied and pasted most of the listed tweaks. Most of them were set, as specified (verified by viewing all settings in about:config). However, others were indicated as having been changed by the user, but the values were different from those specified. For example, browser.cache.memory.capacity was set to -1. I re-edited it in about:config to 18432, restarted FF, and that time it took. Other parameters were also mishandled.What is happening?Oh, and thanks very much for the tweaks, Grail Knight Tim



Grail Knight



Premium Member

join:2003-05-31

Valhalla Grail Knight to deltau1

Premium Member to deltau1

Re: Is the user.js file the same as userchrome.css ??? Where does it say that at?



My first post has a link to the site detailing how to create a user.js file which is then saved in the Profile Folder.

Grail Knight Grail Knight to timcuth

Premium Member to timcuth

Re: Tweaking for Fun/Speed - Fx v3 Series



I use the extension If there is even one error in the user.js it will throw things off such as some .html code.I use the extension Copy Plain Text to copy code online.



Grail Knight



Premium Member

join:2003-05-31

Valhalla 2 edits Grail Knight Premium Member



If you are using Windows make sure under Folder Options that



View - Hide Extensions for Known File Types is unchecked.



Now make the user.txt and copy the tweaks into it.



Rename as user.js and put user.js file you made in the Fx Profile folder.



Edit* If you have trouble locating the Profile folder look over here for info on it.



»support.mozilla.com/en-U ··· _profile



Remember that the user.js needs to be put in the Profile Folder only. Not in the chrome folder or any other folder located in the Profile Folder. Not a big deal just start over.If you are using Windows make sure under Folder Options thatView - Hide Extensions for Known File Types is unchecked.Now make the user.txt and copy the tweaks into it.Rename as user.js and put user.js file you made in the Fx Profile folder.Edit* If you have trouble locating the Profile folder look over here for info on it.Remember that the user.js needs to be put in the Profile Folder only. Not in the chrome folder or any other folder located in the Profile Folder.



timcuth

Braves Fan

Premium Member

join:2000-09-18

Pelham, AL timcuth Premium Member Problem solved - I had user.js in the wrong folder. Thanks!



Tim

deltau1

join:2000-10-03

Lake Forest, CA deltau1 to Grail Knight

Member to Grail Knight

Re: Is the user.js file the same as userchrome.css ???



In the firefox example file it says



"/*

* Edit this file and copy it as userChrome.css into your

* profile-directory/chrome/

*/



/*

* This file can be used to customize the look of Mozilla's user interface

* You should consider using !important on rules which you want to

* override default settings.

*/



/*

* Do not remove the @namespace line -- it's required for correct functioning

*/

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */



/*

* Some possible accessibility enhancements:

*/

/*

* Make all the default font sizes 20 pt:

*

* * {

* font-size: 20pt !important

* }

*/

/*

* Make menu items in particular 15 pt instead of the default size:

*

* menupopup > * {

* font-size: 15pt !important

* }

*/

/*

* Give the Location (URL) Bar a fixed-width font

*

* #urlbar {

* font-family: monospace !important;

* }

*/



/*

* Eliminate the throbber and its annoying movement:

*

* #throbber-box {

* display: none !important;

* }

*/



/*

* For more examples see »

*/



That's where I found it. GKIn the firefox example file it says"/** Edit this file and copy it as userChrome.css into your* profile-directory/chrome/*//** This file can be used to customize the look of Mozilla's user interface* You should consider using !important on rules which you want to* override default settings.*//** Do not remove the @namespace line -- it's required for correct functioning*/@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL *//** Some possible accessibility enhancements:*//** Make all the default font sizes 20 pt:* * {* font-size: 20pt !important* }*//** Make menu items in particular 15 pt instead of the default size:* menupopup > * {* font-size: 15pt !important* }*//** Give the Location (URL) Bar a fixed-width font* #urlbar {* font-family: monospace !important;* }*//** Eliminate the throbber and its annoying movement:* #throbber-box {* display: none !important;* }*//** For more examples see » www.mozilla.org/unix/cus ··· ing.html */That's where I found it.



Grail Knight



Premium Member

join:2003-05-31

Valhalla Grail Knight Premium Member Just follow my link at the top of this page.



You somehow ended up at the userChrome.css tweaks which is different. CSS tweaks are for the layout and look of Fx.



The user.js tweaks control function, extension settings, Fx settings etc...

deltau1

join:2000-10-03

Lake Forest, CA deltau1 Member Thanks GK for the guidance and your dedicated support of Firefox. Make that many thanks.



Marv



Grail Knight



Premium Member

join:2003-05-31

Valhalla Grail Knight Premium Member No problem at all.

You are welcome.



Fx4Life

@rr.com Fx4Life to Grail Knight

Anon to Grail Knight

Re: Tweaking for Fun/Speed - Fx v3 Series I've used your tweaks for Fx2, they work fine. This newest tweak seems to choke the latest RC of Fx3, making it terribly slow. Any ideas?

Indoobidubly

join:2007-08-29

Queens Village, NY Indoobidubly to Grail Knight

Member to Grail Knight

Hey Grail Knight, I was wondering if you could help me out with a user.js problem that I'm having.



I took your FF3 tweaks and put them into a user.js file, then put that file into my FF3 profile folder.



However, the tweaks from the user.js file DO NOT show up in about:config. For example, "network.http.pipelining.maxrequests" is at 8 in the user.js file, but on about:config it still reads as 4.



I did this with FF2 so I'm pretty sure I'm not making any mistakes.



Any help would be appreciated.



Thanks.

greenhatch9

join:2005-08-14

UK! greenhatch9 to Grail Knight

Member to Grail Knight

Hi Grail Knight

Do you have any ideas how one can simply remove favicons from the bookmarks list please? The about:config settings 'browser.chrome.favicons' and 'browser.chrome.site_icons' set to false only do the trick for new bookmarks, not old ones.

Grail Knight Grail Knight to Indoobidubly

Premium Member to Indoobidubly

Make sure there are no punctuation or spelling errors as well as extra spacing.



Clear the Fx cache and restart Fx.