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

osumoclement/tab-counter-plus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tab Counter Plus

This WebExtension shows the number of tabs in each Firefox window. It's efficient and customizable.

screenshot

Download

You can download it from Releases or from Firefox Add-ons (AMO).

Features

✔️ Can count the number of tabs in each window or among all.

✔️ Two display modes: SVG text icon or WebExtension badge.

✔️ Colors and title are customizable.

✔️ Works with multiple windows side by side (not easy due to WebExtension limitations).

✔️ Small performance impact. Most other tab counter extensions continuously query all tabs to count them. That's an expensive operation, which Tab Counter Plus avoids by storing the numbers and updating them on various events.

✔️ Intelligent debouncing. If lots of tabs are opened or closed in a short period of time (e.g. when restoring previous session during startup), the webextension will delay the update of the counter.

✔️ Very fast. Tab Counter Plus avoids asynchronicity as much as possible in order to achieve a faster update of the counter. In particular, no delay when removing tabs (usual in other tab counter due to WebExtension limitations).

✔️ Light-weight. Coded in fast vanilla-js, no bloating libraries.

✨ I designed and implemented a new WebExtension feature that allows to achieve all the above in a much more robust, simple and efficient way. It's included since Tab Counter Plus version 2.0, targetting Firefox 62.

Why another tab counter add-on?

The great Michael Kraft's Tab Counter doesn't work in Firefox Quantum. Some tab counter WebExtensions appeared, but WebExtension limitations made it difficult to create a good tab counter. Therefore, I decided to write my own extension which bypasses the issues as best as I could, and in parallel I started adding new WebExtension features to solve them.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.9%
  • HTML 23.1%