Iceggiren i Tab Counter
Tab Counter sγur Perry Naseck
Icegger-it Cyberknight
Yettwasezmel 5 ɣef 5
sɣur Cyberknight, 8 წლის წინIt's about 66KB in size (packed), being the biggest contender (the smallest I've tested is 6.5KB, packed). It uses a timeout to update the badge, what I'm not sure is the best way of doing it (I've seen others using event triggers). It may be configured to show total tabs in all windows, tabs in each window or both (although that last option is not very useful, as there is a limit of how many characters can be displayed on a badge). Nevertheless, it has good options and works fine, using WebExtensions technology and is bootstrapped (no restart required).
Tiririt n ineflayen
yeffeɣ-d deg 8 წლის წინThanks for reviewing my addon! This addon actually does use event triggers! However, I debounce the events to prevent an overload of updating the badges. This way, when restoring a session or opening lots of tabs at once, the counter doesn't impact the performance of the browser. Also, I apply the badge to each tab individually (as opposed to the default of globally to all tabs and windows) so that if you have two windows on screen, both will always show the right count for their respective window.