Category Archives: Tips

Restore Firefox’s original blank icon

It may be only me, but I think the new blank icon in Firefox is just hideous. I’m talking about the tab icon you get when a web page lacks a favicon. It is as hollow as it can be and just breaks all the clean looks, specially because it is the same icon in the site button, the bookmarks menu and sidebar.

Firefox with new default blank icon screenshot

Fortunately, Firefox is also as customizable as it gets, so a quick search in userstyles.org returned this small script you can add to your userChrome.css file, located in your profile folder(*):

/* Restore blank document default favicon on New/Blank tabs and Bookmarks */

tab .tab-icon-image:not([src]) {
list-style-image: url(“chrome://global/skin/icons/folder-item.png”)!important;
-moz-image-region: rect(0px, 16px, 16px, 0px)!important;
}

#urlbar #page-proxy-favicon:not([src]) {
list-style-image: url(“chrome://global/skin/icons/folder-item.png”)!important;
-moz-image-region: rect(0px, 16px, 16px, 0px)!important;
}

toolbarbutton[class=”bookmark-item”][scheme=”http”]:not([src]), toolbarbutton[class=”bookmark-item”][scheme=”about”]:not([src]) {
list-style-image: url(“chrome://global/skin/icons/folder-item.png”)!important;
-moz-image-region: rect(0px, 16px, 16px, 0px)!important;
}

menuitem[class=”menuitem-iconic bookmark-item menuitem-with-favicon”]:not([src]) {
list-style-image: url(“chrome://global/skin/icons/folder-item.png”)!important;
-moz-image-region: rect(0px, 16px, 16px, 0px)!important;
}

.sidebar-placesTreechildren::-moz-tree-image(leaf) {
list-style-image: url(“chrome://global/skin/icons/folder-item.png”)!important;
-moz-image-region: rect(0px, 16px, 16px, 0px)!important;
}

Here are the results:

Firefox with old default blank icon screenshot

For easier styling, try the Stylish extension which makes adding this and any other user style in userstyles.org a one click task.

(*): * To open your profile folder, go to about:support and push the Open Containing Folder button. If userChrome.css is not present, just copy or rename userChrome-example.css and add the lines.

Restore Firefox former web address styling

With the latest major update, Firefox got a new style for the web address in the location bar: the default http protocol is hidden and only the domain part of the web address is hihglighted so it is easier for you to check if you are where you want to be.

Former Firefox url styling screenshot

If you don’t like it, don’t sweat it though.  With a couple of clicks you can undo the styling:

  1. Access advanced preferences entering about:config in the location bar
  2. Look for browser.urlbar.formatting.enabled. Double-click it to set it to false.
  3. Look for browser.urlbar.trimURLs. Again, double-click it to set it to false.

Old Firefox URL styling screenshot

Done! You’ve gone retro!

Firefox 4 tips for Windows 7 users

Firefox 4 integrates better with some Windows 7 features, including taskbar tab previews, download progress bar in the taskbar icon, and jumplists. Here are some way to enable, disable or customize the different options.

1. Enable taskbar previews.

In the Firefox menu, select the Options item to open the Options dialog. Change to the Tabs page and enable Show tab preview in the Windows taskbar.

 

2. Customize Firefox’s jumplist.

When you right-click on Firefox taskbar icon it displays, by default, your most frequently visited pages (some of which you can pin to the pinned section of

the jumplist by clicking on the pin button next to the site), some common tasks like opening a new tab or window, and taskbar related commands.

If you find the Tasks section useless, you can hide it: go to about:config, search for taskbar, and set browser.taskbar.lists.tasks.enabled to false by double-clicking it.

To hide the Frequent section set browser.taskbar.lists.frequent.enabled to false by double-clicking it. Note, however, that this will enable the Recent section no matter the value of browser.taskbar.lists.frequent.enabled which is set to false by default.

3. Pin a tab to the jumplist.

Finally, to add a page to the Pinned section in the taskbar, simply drag the favicon (from the site button) to Windows taskbar.