GithubHelp home page GithubHelp logo

irvinm / active-and-total-tab-counter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from loirooriol/tab-counter-plus

0.0 0.0 0.0 1.02 MB

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

License: Apache License 2.0

JavaScript 76.63% HTML 23.37%

active-and-total-tab-counter's Introduction

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.

active-and-total-tab-counter's People

Contributors

loirooriol avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.