irvinm / active-and-total-tab-counter

Active and Total Tab Counter - Shows the number of active tabs (not discarded) and total tabs together.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Active and Total Tab Counter - Shows the number of active tabs (not discarded) and total tabs together.

License:Apache License 2.0


Languages

Language:JavaScript 76.6%Language:HTML 23.4%