Small tabs in Firefox 3
By Kazé on Tuesday, December 2 2008, 16:05 - Permalink
I love my EeePC netbook, it’s my only laptop and I even do some XUL stuff with it, using Vim and a separate compact keyboard. However, the small screen can be frustrating with some apps… like Firefox.
Using Vimperator or the full-screen mode does already save a lot of space, but I’ve done a quick hack to save space on the tabbar too:

I got used to it and now I even use it on my 23” desktop screen: the favicons are usually enough to recognize the pages — and if not, there’s still the tooltip and/or ctrl+tab on Firefox 3.1. The idea comes from the Ubuntu Netbook Remix desktop interface.
All you need is six lines of text:
- three preferences (either in your
%profile%/user.jsfile or with about:config):
pref("browser.tabs.tabMinWidth", 36);
pref("browser.tabs.tabMaxWidth", 52);
pref("browser.tabs.closeButtons", 0);
- three style rules in your
userChrome.cssfile:
.tabbrowser-tabs tab .tab-text { display: none; }
.tabbrowser-tabs tab[selected="true"] .tab-text { display: block; }
.tabbrowser-tabs tab[selected="true"] { min-width: 250px; }
Restart Firefox 3, you’re done.
Update: if you’re really lazy, I’ve packed this as an extension.
Comments
Pour gagner de la place j'utilise:
Fission (et pour le coup je vire la statusbar)
Hide All Toolbars
TinyMenu
et
https://addons.mozilla.org/fr/firef...
Les vrais hommes utilisent Wmii et Vimperator pour gagner de la place *et* de l’efficacité. ;-)
Mais effectivement, pour les 99.999% d’utilisateurs Firefox qui n’utilisent ni Wmii ni Vimperator, ces extensions sont intéressantes pour gagner de la place en hauteur. On peut aussi utiliser le mode plein écran (F11) — difficile de faire mieux en matière de gain de place !