Toolbar customization for the tab bar, coming to Firefox trunk soon if everything goes well:
Ugh.
Dumping the native title bar just became substantially more appealing.
Since I spend most of my online time in front of a netbook, saving screen real estate has become a lot more important to me. Gaining or losing 50px vertically has immediate implications on the usability of a number of websites that I frequent. In this regard, Firefox with its default configuration isn’t quite the product that I need it to be. At the same time, the default configuration makes sense to me, as I regularly use most of what it provides. So this isn’t just about cruft removal. I want the whole package for half the price.
In this post, I will describe how I got there:
The menu bar. I use it every day, but not so often that I need to see it all the time. So I just implemented what IE does. Starting with Firefox 3.6, every Windows user will be able to hide the menu bar in Firefox and show it temporarily with the Alt key.
The bookmarks toolbar is my only place for bookmarks. The bookmarks menu hasn’t grown on me, although I’m not sure why. I definitely don’t and won’t use the clunky bookmarks sidebar or the Library to access a particular bookmark. So the toolbar it is. But like the menu bar, I neither need nor want it to occupy space permanently. And as with the menu bar, the solution turned out to be simple. I took the bookmarks button that Firefox provides in the toolbar customization palette and made it show/hide the bookmark toolbar rather than the sidebar. You can get the extension for this here.
The status bar is trickier. I mostly need it for exposing link targets (since the progress bar is redundant). I tried to stop depending on that, but it didn’t work. I need the URLs to be displayed, even if I won’t read them out most of the time. Existing solutions for Firefox show the status bar temporarily or display link targets in the location bar, both of which didn’t feel ideal to me. It took me months to figure this out, but I think Chrome gets this right: It displays the URL in a small panel in a bottom corner of the browser window. This allows me to look there when I need it and ignore it otherwise. Just what I need. So I implemented something similar for Firefox. You can get the extension here.
This is a central feature that HTML5 videos in Firefox lacked compared to flash videos. What we’ve implemented now is a start and still rough around the edges: the only UI to get into full-screen mode is a context menu item, switching to full-screen playback isn’t as seamless as it should be, the controls haven’t been optimized for that mode, and upscaling isn’t accelerated. Nevertheless, it works.
To test this, just get the latest branch or trunk nightly and visit an open video source of your choice. I believe the biggest ones are still TinyVid, Wikimedia Commons and The Video Bay. openvideo.dailymotion.com won’t work because it prevents the user from opening a video’s context menu.
The throbber as you know it from Firefox 3.5 and before does a decent job of indicating activity, but it doesn’t tell you how much progress has been made. A background tab may already have 90 per cent of its resources and be usable, or it may have stagnated at 20 per cent. The new pie-chart throbber addresses this by
As a pleasant side effect, the new throbber also eats fewer CPU cycles than the old one.
Grab a nightly, give it a try, report bugs!
If you’re using a recent Firefox nightly, your browser is now capable of installing lightweight themes from Web pages — except that you probably don’t know a single site that offers lightweight themes.
I’ve spent some time creating such themes based on my various website styles. Basically I just had to make the header images wider and specify some colors. You can see the result here.
Note that any site can offer lightweight themes. Each theme installation needs to be confirmed by the user, unless the site has been whitelisted to install extensions and themes (via Page Info > Permissions). Whitelisted sites are also allowed to preview themes to the user without selecting them persistently.
If you’d like to create and distribute your own themes, take a look at the source of the simplified example page that I prepared.
Update: getpersonas.com started working with trunk and 1.9.2 branch builds without the Personas add-on.
Starting with the very latest nightly, lightweight themes can be applied to XUL windows.
There’s no UI for installing or managing these themes, but you can still test it. Just open the Error Console and execute this:
Components.utils.import("resource://gre/modules/LightweightThemeManager.jsm"); LightweightThemeManager.currentTheme = {id:"2538",name:"LOLFace",dominantColor:"#6b6b6b",textColor:"white",headerURL:"http://getpersonas.com/static/3/8/2538/LOL.png",footerURL:"http://getpersonas.com/static/3/8/2538/LOL2.png"}
Your Firefox main window should now be styled with an example theme, and this should persist across sessions. To get rid of it again, execute this:
Components.utils.import("resource://gre/modules/LightweightThemeManager.jsm"); LightweightThemeManager.currentTheme = null
The next steps will be to list lightweight themes in the Add-ons manager and to provide a way to install them from the Web.
For real this time! I just landed John Morkel’s patch for bug 465673 on mozilla-central. If all goes well, it will be in tomorrow’s nightly.
Read beltzner’s original announcement for a detailed description of this change. That description is still 100% valid, except that this can’t possibly make it into Firefox 3.1 anymore.
Apart from the add-ons manager integration, I’ve recently identified three more implementation parts that need to be tackled for the upcoming lightweight theme feature, which will be based on Personas: