Coder Social home page Coder Social logo

sarics / tab-badge Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 563 KB

A webextension that shows a small badge with the unread count (the number between parentheses in the page's title) of the tabs over their favicon.

License: MIT License

JavaScript 95.04% CSS 3.27% HTML 1.69%
badge firefox firefox-addon tabs webextension

tab-badge's People

Contributors

sarics avatar

Stargazers

 avatar

Watchers

 avatar

tab-badge's Issues

Icon changes after count is cleared

I'm glad to stumble upon this new Tab Badge add-on. The same-named add-on I used before stopped working with Firefox Quantum.

I'm using Tab Badge with Fastmail.com. What I see is this:

  1. Favicon starts out as a square envelope.
  2. Unread mail arrives. Badge is added to the square envelope.
  3. When all of the mail is read, the badge is removed but...
  4. Now the favicon is different than in #1; it is an envelope in a circle.
  5. If refresh the page then I'm back to favicon #1.

What I'm suspecting is that the icon in #4 is what's in the web page but a script is changing it to icon #1.

In step #4 above what appears to happen is the favicon first just drops the badge (i.e. it is icon #1) but then it quickly changes to icon #4. Note that this only happens with Tab Badge enabled.

(Note that there are really three favicons: the square envelope (#1), the envelope in a circle (#4), and a different envelope in a circle favicon (let's call this #5). When refresh the page it first sets it to #5 but then quickly changes it to #4.)

I don't know if you can recreate this without a Fastmail account. Let me know if there's anything I can do in the inspector.

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.