Recensioner för Tab Counter
Tab Counter av Perry Naseck
Recension av Cyberknight
Betygsatt 5 av 5
av Cyberknight, för 8 år sedanIt'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).
Utvecklarens svar
postad för 8 år sedanThanks 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.