Firefox Tuning

Discussion of features in Mozilla Firefox
Locked
Karl
Posts: 387
Joined: March 19th, 2003, 12:05 pm

Post by Karl »

But when I make a user.js file in notepad and save it, do I put it in the user profile along with prefs.js? Or does it go in the main program somewhere?
User avatar
laszlo
Posts: 5225
Joined: November 4th, 2002, 6:13 pm
Location: .de
Contact:

Post by laszlo »

Put it into the user profile.
"I'll be dead after I die. I was dead before I was born. Life is a break from death." - Hlynur, 101 Reykjavík
User avatar
alanjstr
Moderator
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here
Contact:

Post by alanjstr »

Use the chromedit extension. It will put everything in the proper place.
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
Chrysalis
Posts: 319
Joined: January 27th, 2004, 10:43 am

Post by Chrysalis »

Cusser yes it does, I noticed resolving dns names is slow here, could be my isp but who knows, so obviously removing that delay helps a great deal, the cache is for a day, which I still consider a low amount considering how often domains change ip's for www sites.
User avatar
BenBasson
Moderator
Posts: 13671
Joined: February 13th, 2004, 5:49 am
Location: London, UK
Contact:

Post by BenBasson »

Ok, I've added in the DNS tweak. I dont think it'll make a lot of difference on my cable connection, but it could prove handy if my ISP has horrific DNS failures again. Does the setting apply to the currently stored DNS entries? (i.e. if I change the value later, will the current entries last longer, or is their expiry date set when they're first cached?)
Chrysalis
Posts: 319
Joined: January 27th, 2004, 10:43 am

Post by Chrysalis »

well dns performance is nothing to do with the speed of your connection, if your dns server is slow then lookups will cause a noticeable delay, if I click on a link and the dns isnt cached I get a delay while it says resolving blahblah.com, then once resolved the page loads as normal, this delay is skipped if the dns entry is cached.

The downside is if the address does change and you are running from the dns cache then you will either get a wrong page or no page at all, so for this maybe a flush dns cache option could prove useful.

I dont know if it applies to current entries or not.
AnonEmoose
Posts: 2031
Joined: February 6th, 2004, 11:59 am

Post by AnonEmoose »

hey just a comment people.... I noticed alot of users are putting this pre

Code: Select all

signed.applets.codebase_principal_support
as "true".... This is potentialy a big risk as it allows java to run unsigned jar files on your machine... Consider changing it back to the default "false". I've read that some functions to external programs require this setting to be true...but consider the risks.....Now i admit i don't know too much about it, consider educating me if i've made a mistake.....
check thes links for mor info
http://www.mozilla.org/projects/securit ... jssec.html
http://www.rgagnon.com/javadetails/java-0123.html
http://developer.netscape.com/docs/tech ... ectn3.html
sasquatch
Posts: 6022
Joined: November 25th, 2003, 8:56 am

Post by sasquatch »

http://www.mozilla.org/roadmap.html#milestone-schedule wrote:how you can help

C and C++ hackers: tinderbox now measures code footprint, so let's start working to reduce it rather than increase it. Resist the all-too-common tendency to add more code. Try to remove code, simplify over-complicated code, undo premature optimizations,...



Wondering if these are all considered "premature optimizations".
User avatar
laszlo
Posts: 5225
Joined: November 4th, 2002, 6:13 pm
Location: .de
Contact:

Post by laszlo »

AnonEmoose wrote:hey just a comment people.... I noticed alot of users are putting this pre

Code: Select all

signed.applets.codebase_principal_support
as "true".... This is potentialy a big risk as it allows java to run unsigned jar files on your machine... Consider changing it back to the default "false". I've read that some functions to external programs require this setting to be true...but consider the risks.....Now i admit i don't know too much about it, consider educating me if i've made a mistake.....
check thes links for mor info
http://www.mozilla.org/projects/securit ... jssec.html
http://www.rgagnon.com/javadetails/java-0123.html
http://developer.netscape.com/docs/tech ... ectn3.html

Thanks, good catch. I updated the top post to reflect this.
Chrysalis
Posts: 319
Joined: January 27th, 2004, 10:43 am

Post by Chrysalis »

set mine back to false, thanks
User avatar
MonkeeSage
Posts: 1011
Joined: December 20th, 2002, 8:15 pm

Post by MonkeeSage »

sasquatch wrote:
http://www.mozilla.org/roadmap.html#milestone-schedule wrote:how you can help

C and C++ hackers: tinderbox now measures code footprint, so let's start working to reduce it rather than increase it. Resist the all-too-common tendency to add more code. Try to remove code, simplify over-complicated code, undo premature optimizations,...



Wondering if these are all considered "premature optimizations".


No. They are talking about "C and C++" and "tinderbox" checkins (i.e., Gecko source); not user preferences. Their point is that coders often have a tendency to add more and more new code before they have got the old code sufficiently working / simplified, which results in overly-complicated code and things breaking (or at least not working as expected). Nothing at all to do with end users setting preferences. :)


Shelumi`El
Jordan

S.D.G
sasquatch
Posts: 6022
Joined: November 25th, 2003, 8:56 am

Post by sasquatch »

MonkeeSage wrote:...

No. They are talking about "C and C++" and "tinderbox" checkins (i.e., Gecko source); not user preferences. Their point is that coders often have a tendency to add more and more new code before they have got the old code sufficiently working / simplified, which results in overly-complicated code and things breaking (or at least not working as expected). Nothing at all to do with end users setting preferences. :)


...


Sounds like Congress (or any legislative body, for that matter). :roll: :cry:

I don't think I've seen a politician yet who runs on the platform of what laws they will reduce or eliminate other than one in MA.
User avatar
MonkeeSage
Posts: 1011
Joined: December 20th, 2002, 8:15 pm

Post by MonkeeSage »

sasquatch wrote:Sounds like Congress [...]


ROFL!
Old Bozz
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old Bozz »

I'm using the codes listed below and they have certainly made a improvement with my dialup. I have Win98SE, AMD Athlon 800 MHz, Azus K7V motherboard, 512 RAM with a Best Data Smart One 56K V.92/V.44 Internal Data/Fax Modem that connects at 42,667 bps. Firefox 0.8. I have javascript turned off, cookies off, cache at 0, load images for the originating web site only and resize images to fit window turned off.

Would anyone have any suggestions or additional settings that might be an improvement?

user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 3000000);
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", 64);
user_pref("network.http.max-connections-per-server", 8);
user_pref("network.http.max-persistent-connections-per-proxy", 8);
user_pref("network.http.max-persistent-connections-per-server", 4);
user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 96);
user_pref("nglayout.initialpaint.delay", 750);
Hero307
Posts: 13
Joined: February 26th, 2004, 2:15 am

Post by Hero307 »

instead of manual editing user.js or prefs.js, just try this automatic tool:
http://www.computerbase.de/downloads/so ... optimizer/
NAD.
Locked