Thursday, January 10, 2008

Hacking Firefox

FYI: Great Collection of Mozilla/Firebird Hacks
Posted by M. Reyes on July 29, 2003 at 12:31:39:
I had originally written about download throughput hacks and a FavIcon hack, and after looking around I found a few more that are of interest and I figured I'd share them with everyone. BTW, these hacks will also work with Netscape 7.1.
To add these hacks you have to:
exit out of the browser completely,
find your prefs.js file,
backup your prefs.js file,
copy and past the hacks below at the bottom of the prefs.js file,
save the prefs file and
then open the browser.
Another tip for hacking Preferences is that you can use the about:config screen which lets you add, modify or reset values for Preferences.
Again, I'm not taking credit for all of these hacks, just some, but I figured putting them all together would be a great resource, enjoy.
// Enable Smooth Scrollinguser_pref("general.smoothScroll", true);
// Change to normal Google search:user_pref("keyword.URL", "");
// Disable Bookmark Iconsuser_pref("", true);user_pref("", true);
// Do not Reuse Active Mozilla Browseruser_pref("advanced.system.supportDDEExec", false);
// Number of backup copies to keep for prefs.js (ie: bak, .bak1, etc.)user_pref("backups.number_of_prefs_copies", 5);
// Turn on timer-based reflow managementuser_pref("content.notify.ontimer", true);
// Sets the allowed time between reflows in microsecondsuser_pref("content.notify.interval", 100);
// Set the number of reflows to do before waiting for the// rest of the page to arriveuser_pref("content.notify.backoffcount", 200);
// Enable Improve pipelining:user_pref("network.http.pipelining", true);user_pref("network.http.proxy.pipelining", true);user_pref("network.http.pipelining.firstrequest", true); //Default is falseuser_pref("network.http.pipelining.maxrequests", 100); //Default is 4
// Increase Multi-Threaded Downloading performanceuser_pref("network.http.max-connections", 60); //Default is 24user_pref("network.http.max-connections-per-server", 32); //Default is 8user_pref("network.http.max-persistent-connections-per-proxy", 16); //Default is 4user_pref("network.http.max-persistent-connections-per-server", 8); //Default is 2
// Remove painting delay when loading pagesuser_pref("nglayout.initialpaint.delay", 0); // Default is 250
// Show full path for plugin file on about:plugins page// the full path was removed for security purposes, please keep that in minduser_pref("plugin.expose_full_path", true); // Default is false
// Find As You Type Configuration:// Set this pref to false to disable Find As You Type:user_pref("accessibility.typeaheadfind", true);// If you set this pret to true, typing can automatically start Find As You Type.// If false (default), you must hit / (find text) or ' (find links) before your search.user_pref("accessibility.typeaheadfind.autostart", true);// Set this pref to false if you want Find As You Type to search normal text too:user_pref("accessibility.typeaheadfind.linksonly", false);// Set this pref to true if you require that the link starts with the entered text:user_pref("accessibility.typeaheadfind.startlinksonly", false);// This is the time in milliseconds for the Find As You Type to stop watching for keystrokes:user_pref("accessibility.typeaheadfind.timeout", 3000);
အေသးစိတ္ကို ဒီေအာက္မွာၾကည့္ပါ။

No comments: