Giter Site home page Giter Site logo

tabarra / dynamic-tab-counter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from loirooriol/tab-counter-plus

0.0 1.0 0.0 816 KB

Shows the number of tabs in each window with customizable threshold colors.

License: Apache License 2.0

JavaScript 66.35% HTML 33.65%

dynamic-tab-counter's Introduction

Dynamic Tab Counter

This is a fork from @Loirooriol/tab-counter-plus to add the functionality of changing the counter color/style depending on how many open tabs.
I'm known for having a tad too many tabs opened at all times (most of the time above 100 across 4 windows) and I hope this very much "in your face" counter will help me keep the tabs under control.

Coding style disclaimer:
The original code was written very differently from how I would have written, and my added code kinda matches it. So please don't judge it.

Changes from Original

  • Removed the badge icon option;
  • Wiped some (IMHO) dead weight files from the repo (test-related, but they were not testing anything?!);
  • Added option to set threshold and styles to change the icon when the thresholds values are met.

Maintainability

I make absolutely no promises of keeping this updated and working. I've made this fork just for myself and sharing it because I know at least one of my friends might want to try.
This did not become a PR to the original repo because honestly I didn't want to deal with all the possibilities, specially considering @Loirooriol might not even care about it, but I definitely would prefer if this was an option on the original addon.

dynamic-tab-counter's People

Contributors

dependabot[bot] avatar loirooriol avatar tabarra avatar

Watchers

 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.