Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Today firefox 3 really pissed me off, so I decided to hack at it until I beat/chopped it's bloody corpse into the shape I want it.
I've found many tweaks that I didn't know existed, and they helped me make firefox 3 a lot more like previous versions, both in speed and in layout. Surely you have noticed that the FF devs have decided to add a lot of useless BS buttons to FF 3 that usually are not only redundant but also get in the way of browsing. Anyway here are some of the nice tweaks I found to beat this unruly dirty fox into shape.
So almost all of the following require that you type 'about:config' in the address bar (no quotes) and press Enter, in case you didn't know. You can then search for keys, or add new ones. To add new keys, in about:config you right-click (somewhere inside the lower window) -> New -> String | Integer | Boolean. You'll be using integers and booleans. Doesn't this kinda remind of Window$ regedit ... sends chills down my spine.
Speed tweaks:
The important ones are all listed here:
EDIT: old link dead, still can use: http://forums.mozillazine.org/viewtopic.php?p=517456
Note that they fail to mention that you may actually have to add new keys to about:config, as stated earlier.
There's an error here tho, in # 8) disable annoying browser behavior (javascript hijacks)
You should set all those to true, really I recommend you set all
Code:
dom.disable_window* true
because you have to disable these by setting them to true. These are the things you let javascript disable, such as those annoying popups that disable various parts of your FF window, such as url bar, toolbars, etc. You don't want that do you, only some of these options are available under preferences -> content -> javascript advanced.
You may also want to look into this option: http://kb.mozillazine.org/Browser.li...ow.restriction
By default it is set to 2 which lets some popups bypass the usual protection that this feature offers, so I set it to 0 (this is the default for seamonkey, or you could set it to 1, but you may have problems with downloads from certain sites not working)
Code:
browser.link.open_newwindow.restriction 0
I don't recommend # 1) in the article.
disable large images in history -> recently closed tabs
ever notice that if you close an image and then want to open it via history it will show the whole image in there ... lol. To disable this nonsense do:
Code:
browser.chrome.image_icons.max_size 0
remove useless buttons from url bar right hand side
Go to '~/.mozilla/firefox/*.default/chrome', rename 'userChrome-example.css' to 'userChrome.css', then edit it and add the following to the bottom:
Code:
/* Disable "List all Tabs" Button */
.tabs-alltabs-button {
display: none !important;
}
/* Disable Container box for "List all Tabs" Button */
.tabs-alltabs-box {
display: none !important;
}
/* Remove the Bookmark star */
#star-button {
display: none !important; }
/* Remove live feed icon in Address url toolbar */
#feed-button {
display: none !important;
}
/* Remove the drop arrow in the Address bar */
.autocomplete-history-dropmarker {
display: none !important;
}
crashing (last but not least, how to stop FF from crashing):
Possibly useful in making FF not crash: http://www.blogsdna.com/430/9-fix-fo...ng-problem.htm
as is listed here many things can contribute to instability, if you research into it, you'll be able to solve many crashes by removing plugins or extensions or toolbars.
Firefox 3.5 specific
FF 3.5, removing the "Recently Closed Windows" menu option
add this to 'userChrome.css' as stated above:
In FF4, the 'chrome' directory may not exist, so just create it and make the 'userChrome.css' file, just remember to put this at the very beginning of the file, or it won't work:
Code:
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
Hope that helps someone, and if I missed anything important or if you have some more tweaks I'd be happy to see them
Just for your info, extensions that I have installed:
- Adblock Plus
- Download Statusbar
- Flashblock
- Noscript
- SQLite Manager (useful for FF3 and up, as sqlite databases have replaced plain text storage of bookmarks and cookies)
- Show Go! (always show the go button, I like it)
- User Agent Switcher (for sites that like to discriminate and think they can)
- refspoof (for sites that think they can stop me from viewing hot-linked images and such)
- bug489729 (disables tab tearing on FF3.5 and 4.0)
- Greasemonkey
Some new ones:
Adblock Plus Pop-up Addon
Element Hiding helper for Adblock Plus
Skipscreen
Last edited by H_TeXMeX_H; 05-01-2011 at 01:53 PM.
Reason: fixed dead links, and added 4.0
The best tweak I found for FF3 was to uninstall it and fallback to FF2.
Yeah, I wish I could do that, but I still sometimes need java to work, and 64-bit java only works on FF3. I guess I could keep both around, but it's kind of a hassle. Either way with these tweaks it works a lot better, almost like FF2.
Can you use 32-bit java with FF2 on a 64-bit kernel? I still haven't made the jump to 64-bit and I'd kind of like to; just to get SETI running on CUDA. Maybe they'll release the 32-bit version and it'll be a moot point.
Last edited by Quakeboy02; 05-23-2009 at 03:04 PM.
Can you use 32-bit java with FF2 on a 64-bit kernel? I still haven't made the jump to 64-bit and I'd kind of like to; just to get SETI running on CUDA. Maybe they'll release the 32-bit version and it'll be a moot point.
Yeah, I'm quite sure you can, I had to do that for a while and it was a PITA, before they came out with the 64-bit java plugin.
I just remembered the middlemouse.contentLoadURL one, it's very useful. Also added some links suggested by GrapefruiTgirl, they are quite comprehensive and useful.
/* Use MEDIUM "Penguin" throbber image in all places, always. */
@import url("chrome://global/skin/subskin/throbber-med.css");
/*
/* Change the Address Bar image from default "Page" to "Tux" image. */
@import url("chrome://global/skin/subskin/url-tux.css");
/* Change Tab image from default "Page" to "Tux" image. */
@import url("chrome://global/skin/subskin/tab-tux.css");
/* Change Tab-loading image from default "Circular" to "Penguin" image.
* (If you use this with any of the four options above,
* place it below that entry.) */
@import url("chrome://global/skin/subskin/tab-penguin.css");
/* Restore default OS menulists in Linux. */
@import url("chrome://global/skin/subskin/dropmarker-fix.css");
/* Use Stylized address and search bars. */
@import url("chrome://global/skin/subskin/rounded.css");
/ * 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 */
/* Remove the Address Bar's autocomplete history dropmarker image. */
#urlbar > .autocomplete-history-dropmarker {
list-style-image: none !important;
}
/* Remove the Search-Go button.
* (Use with the Stylized search bar only.) */
.search-go-button {
visibility: hidden !important;
}
/* Change cursor for links that open in new window */
:link[target="_blank"], :visited[target="_blank"],
:link[target="_new"], :visited[target="_new"] {
cursor: crosshair;
}
I added how to remove the "Recently closed windows" option in FF 3.5. It seems every time a new version of FF comes out they add one more thing that I have to disable. I have absolutely no use for this option and it's in the same place where "recently closed tabs" was ... pisses me off a lot. Anyway there's a way to get rid of it, luckily.
Glad I could help, if you know of some more useful tweaks I'll add them to the list if you want. Personally what I wanted was just a place which had one comprehensive list of tweaks (useful ones), and I couldn't find one, so I'm trying to make one.
Thanks to everyone contributing in here, as it's VERY handy to have all this stuff in one place, saving all the Googling and overlap produced by said Googling.
Great
Sasha
PS - It seems that ONE MEASLY THING I really miss, has been removed from FF-3.5.x, and that is/was when clicking a bookmark, I had it open in a new tab (by Left Click) whereas now, it apparently can only be done by middle-click. Surely I'll get used to it, but I still get miffed when I click a bookmark and it loads in the current tab :/
Last edited by GrapefruiTgirl; 08-11-2009 at 09:06 PM.
The above is (one of?) the main itemized, alphabetized lists of a giant whack of about:config entries. I didn't see it listed above, so there it is
I had already done a lot of this stuff on all previous Firefoxes. This time, Imma save my prefs.js file (I think that's the file -- don't quote me) for use with future versions, and/or for total crashes in which it might get lost, or whatever.
BTW - Been going through the links and suggestions above, as well as following links FROM those links, and must by now be getting pretty near tweaked out -- and I must say, when I first installed Slack64-current, therefore using for the first time Firefox 3.5.x, I found it acted like a bloated, half-dead sea-cow. But now, it's almost like it's got broadband behind it!! Zoom!!! Works GREAT
Thanks again to all contributors, and to H_TeXMeX_H for starting/creating this one-stop-about:config-shop here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.