Tab Counter 的评价
Tab Counter 作者: Perry Naseck
Cyberknight 的评价
评分 5 / 5
来自 Cyberknight,7 年前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).
开发者回应
发布于 7 年前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.