Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
firefox [2011/01/20 19:17] 90.157.176.243 |
firefox [2014/01/30 10:27] (current) zagi [Speeding up Firefox] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Firefox ====== | ====== Firefox ====== | ||
| - | [[firefox addons]]\\ | + | [[firefox:addons]]\\ |
| [[greasemonkey]]\\ | [[greasemonkey]]\\ | ||
| [[firefox# | [[firefox# | ||
| [[firefox# | [[firefox# | ||
| - | Optimized Firefox [[user.js|user configuration file]]\\ | + | Optimized Firefox [[firefox:user.js|user configuration file]]\\ |
| + | |||
| + | |||
| + | === FIX Crashing X-window with ATI drivers while moving toolbar icons == | ||
| + | |||
| + | nglayout.enable_drag_images false | ||
| + | |||
| + | |||
| + | === Move disk cache onto RAMdisk === | ||
| + | |||
| + | use tmpfs in linux | ||
| + | |||
| + | add to / | ||
| + | |||
| + | tmpfs / | ||
| + | |||
| + | use rmdisk in Windows http:// | ||
| + | |||
| + | imdisk.exe -a -s 200M -m R: -S 4096 -p "/ | ||
| + | |||
| + | http:// | ||
| + | |||
| + | in about: | ||
| + | |||
| + | browser.cache.disk.parent_directory | ||
| + | browser.cache.disk.capacity 190000 | ||
| + | |||
| + | |||
| + | === Make Firefox remember all forms and passwords === | ||
| + | |||
| + | find nsLoginManager.js\\ | ||
| + | \\ | ||
| + | linux | ||
| + | / | ||
| + | \\ | ||
| + | windows | ||
| + | C:\Program Files\Mozilla Firefox\nsLoginManager.js) | ||
| + | \\ | ||
| + | Once you've found that file, open it in an editor, and find the section that has isAutoCompleteDisabled, | ||
| + | |||
| + | < | ||
| + | /* | ||
| + | * _isAutoCompleteDisabled | ||
| + | * | ||
| + | * Returns true if the page requests autocomplete be disabled for the | ||
| + | * specified form input. | ||
| + | */ | ||
| + | _isAutocompleteDisabled : function (element) { | ||
| + | // if (element && element.hasAttribute(”autocomplete”) && | ||
| + | // element.getAttribute(”autocomplete”).toLowerCase() == “off”) | ||
| + | // return true; | ||
| + | |||
| + | return false; | ||
| + | }, | ||
| + | </ | ||
| + | |||
| + | |||
| + | In recent FF versions the nsLoginManager.js file is located in the " | ||
| + | You'd have to open omni.jar with an unarchiver tool and look for your file in the " | ||
| + | After the modification select all files/ | ||
| + | |||
| + | |||
| + | === Make old Firefox add-ons " | ||
| + | Find in install.rdf section similar to this: | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | and change maxVersion to something higher... | ||
| === Firefox config optimizations === | === Firefox config optimizations === | ||
| Line 114: | Line 188: | ||
| check SQLoptimizer add-on!\\ | check SQLoptimizer add-on!\\ | ||
| + | |||
| + | |||
| + | <note important> | ||
| + | |||
| + | |||
| Firefox insists on doing huge amounts of I/O when closing, as well as act slow when using the awesomebar, try the following (close down Firefox completely first): | Firefox insists on doing huge amounts of I/O when closing, as well as act slow when using the awesomebar, try the following (close down Firefox completely first): | ||
| + | |||
| < | < | ||
| - | | + | # |
| + | killall firefox | ||
| + | killall thunderbird | ||
| + | du -hs ~/ | ||
| + | du -hs ~/ | ||
| + | for f in ~/ | ||
| + | for f in ~/ | ||
| + | du -hs ~/ | ||
| + | du -hs ~/ | ||
| </ | </ | ||
| Line 124: | Line 212: | ||
| Win32 .bat file: | Win32 .bat file: | ||
| < | < | ||
| - | for %%v in (*.sqlite) do sqlite3 "%%v" VACUUM; | + | @echo off |
| + | setlocal | ||
| + | pushd | ||
| + | |||
| + | REM IF EXIST " | ||
| + | REM IF EXIST " | ||
| + | REM IF EXIST " | ||
| + | |||
| + | set profiles=%APPDATA%\Thunderbird\Profiles | ||
| + | |||
| + | cd /d %profiles% | ||
| + | |||
| + | for /r %%a in (*.sqlite) do ( | ||
| + | echo %%a | ||
| + | sqlite3 "%%a" VACUUM; | ||
| + | | ||
| + | ) | ||
| + | |||
| + | set profiles=%APPDATA%\Mozilla\Firefox\Profiles | ||
| + | cd /d %profiles% | ||
| + | |||
| + | for /r %%a in (*.sqlite) do ( | ||
| + | echo %%a | ||
| + | | ||
| + | | ||
| + | ) | ||
| + | |||
| + | set profiles=%APPDATA%\Moonchild Productions\Pale Moon\profiles | ||
| + | |||
| + | cd /d %profiles% | ||
| + | |||
| + | for /r %%a in (*.sqlite) do ( | ||
| + | echo %%a | ||
| + | | ||
| + | | ||
| + | ) | ||
| + | |||
| + | |||
| + | popd | ||
| </ | </ | ||
| It’s harmless, no data will be lost: it compacts your **__[[sqlite]]__** databases. | It’s harmless, no data will be lost: it compacts your **__[[sqlite]]__** databases. | ||
| - | |||
| ==== cpu optimized builds ==== | ==== cpu optimized builds ==== | ||

