The features of this extension are:
<li>The current page is highlighted in bold print and the pages are listed in inverse chronological order.
<li>If the list is too long, fast-rewind/-forward entries are shown at top and bottom.
<li>The buttons and the menu items support all clicking subtleties (e.g. middle-clicking opens the selected page in a new tab).
<li>You get the page's URLs as tooltips to the menu items.
Note: If the button doesn't look good for your theme, please contact your theme's author. I only use the default theme and won't be able to help you.
Download
<a href="http://mozilla.zeniko.ch/unibafo.xpi">Unified Back-/Forward Button 0.6</a>
<li>After the update, you might have to move the two buttons provided by Firefox to where the combined button used to be. Also any further customization through userChrome.css will have to be adapted.
<li>The original Back and Forward buttons are merged now (a separate button is no longer provided).
<li>The button parts can be individually added/removed from the toolbars.
This release works for Firefox 2.0 (mainly tested with the Winstripe theme).
Customization
The maximum length of the unified menu can be changed by creating a new Integer pref called <code>browser.sessionhistory.unified_length</code> in about:config and setting it to a value different than 11 (the default).
Styling
The button could be styled further through userChrome.css. E.g. to make it easier to hit with the mouse:
Code: Select all
/* Fitts' Back Button - bigger target on the icon-only toolbar */
toolbar[mode="icons"] #back-button > [anonid="button"] {
-moz-box-orient: horizontal !important;
}
toolbar[mode="icons"] #back-button > [anonid="button"] > label {
display: -moz-box !important;
margin: 0px 2px 1px 2px !important;
-moz-margin-start: 5px !important;
}
And if you prefer the history to be ordered in reverse (earlier visited entries at the top):
Code: Select all
/* Order the drop-down menu in the same way as the Forward button's menu */
#back-button[unified] > menupopup scrollbox > box {
-moz-box-direction: reverse !important;
}
Accessibility
Back and Forward are as usual [Alt]+[Left] and [Alt]+[Right]. To access the drop-down menu, you can use the following keyconfig macro ([Esc] closes the menu):
Code: Select all
document.getElementById("back-button").open = true;
Revisions
~~ 0.5 ~~~~
<li>Updated for Firefox 2.0
~~ 0.4.5 ~~~~
<li>Reversed the page list order (last to first)
<li>Reduced the default list length to 11
~~ 0.4 ~~~~
<li> Dropped support for specific themes in favor of a solution which should look OK with most themes
~~ 0.3.4 ~~~~
<li> Supports also miniFox, miniFoxFlat, iFox, iFox Graphite, iFox Orange
~~ 0.3.3 ~~~~
<li> The last history entry can now also be reached through fast-forward
~~ 0.3.2 ~~~~
<li> Clicking on a disabled button acts as if clicking on the dropdown marker
~~ 0.3.1 ~~~~
<li> Bug fix: clicking on the disabled button resulted in an empty popup menu
~~ 0.3 ~~~~
<li> Bug fix: an entry could appear both as a normal and as a fast-forward entry
~~ 0.2.2 ~~~~
<li> Supports the following themes: Qute, Noia (Extreme), Apollo, Safire, Eternal Aqua, iFox Smooth
~~ 0.2.1 ~~~~
<li> Highlight the active page additionally with a bullet
~~ 0.2 ~~~~
<li> Added fast-rewind/-forward menu items (inspired by this 'Places' draft)
<li> Made the menu length customizable through about:config (extensions.unibafo.*)
~~ 0.1 ~~~~
<li> Initial release 2006-03-06