Skip to content

Tab Counter Plus - Shows the number of tabs in each window. Efficient and customizable.

License

Notifications You must be signed in to change notification settings

jmmerz/tab-counter-wide

 
 

Repository files navigation

Tab Counter Wide

This is a fork of Loirooriol's fantastic Tab Counter Plus to do some slightly messy customization to allow for a wider tab counter. Please see the README on that page for full details.

This provides the ability to include the current tab index in addition to the total number of tabs in the window.

Download on addons.mozilla.org!

screenshot

This is accomplished by requiring the following to be added to the userChrome.css file:

/* Normally has right/left-padding of 1px - remove it all */
toolbarbutton#tab-counter-wide_jmmerz_github-browser-action {
    padding-left: 0px !important;
    padding-right: 0px !important;
}
/* Normally has right/left-padding of 6px - remove it all */
toolbarbutton#tab-counter-wide_jmmerz_github-browser-action > .toolbarbutton-badge-stack {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

/* Standard height/width is 16px/16px. Tabbar height is 28px so that's pretty fixed,
 * but we can adjust width as needed. These should match the icon dimensions in the code. */
toolbarbutton#tab-counter-wide_jmmerz_github-browser-action > .toolbarbutton-badge-stack > .toolbarbutton-icon {
    height: 28px !important;
    width: 56px !important;
}

Version History:

  • Update minimum Firefox version to 62.0.
  • Fix performance issue that could cause browser to slow down, especially with a moderate to large number of tabs open.
  • Switch to a better name.
  • Add standardized instructions to make this this extension more usable.
  • Update name to "Tab Counter Wide" to better describe what's unique about it.
  • Various updates/improvements
  • Provide additional options for counting hidden tabs.
  • General code cleanup.
  • Initial release - this provides the ability to use a 28x56px button and include the tab number in the count.

About

Tab Counter Plus - Shows the number of tabs in each window. Efficient and customizable.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 69.5%
  • HTML 26.6%
  • Shell 3.9%