Git Product home page Git Product logo

Comments (8)

Mottie avatar Mottie commented on June 11, 2024 2

I got it working with

hasUnread = mail ? !mail.hidden : false;

Sorry, lots of personal stuff going on that I haven't had a chance to actually commit this fix.

from github-userscripts.

TFWol avatar TFWol commented on June 11, 2024 1

@veksha
I was able to make a workaround.
Replace

hasUnread = mail ? mail.classList.contains("unread") : false;

with:

hasUnread = !mail.hasAttribute("hidden") ? true : false;

from github-userscripts.

veksha avatar veksha commented on June 11, 2024 1

nice work, @TFWol ! thank you.

from github-userscripts.

TFWol avatar TFWol commented on June 11, 2024

I'm having the same problem.
It seems to happen when I'm browsing a repo's Issues.

from github-userscripts.

TFWol avatar TFWol commented on June 11, 2024

I got it working with

hasUnread = mail ? !mail.hidden : false;

Sorry, lots of personal stuff going on that I haven't had a chance to actually commit this fix.

No problem, I'm just glad you've made this amazing repo.

I didn't do a pull request because I knew you'd have a more eloquent way to fix it; I only dabble in JS 🙂

from github-userscripts.

TFWol avatar TFWol commented on June 11, 2024

Is it just me or is changing the notification indicator symbol not working?

from github-userscripts.

veksha avatar veksha commented on June 11, 2024

yes, another bug.

from github-userscripts.

TFWol avatar TFWol commented on June 11, 2024

Oo, I see why.

Change:

GM_setValue("indicator", indicator);

To:

GM_setValue("indicator", val);

Then refresh page

---edit:
same for interval:

Change:

GM_setValue("interval", interval);

To:

GM_setValue("interval", val);

Nice. If you use Windows, press Win+. and you can use emojis :D
image

from github-userscripts.

Related Issues (20)

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.