Closed karlhorky closed 3 years ago
This extension only works when the tab is visible, so the badge wouldn’t be updated if the window is minimized. You might want to ask this in https://github.com/sindresorhus/notifier-for-github
Ah, thanks for the tip! Opened a new issue over there: https://github.com/sindresorhus/notifier-for-github/issues/235
Hi there, thanks for this extension, really cool!
Using the Badging API (spec, shipped to stable Chrome in April 2020),
navigator.setAppBadge(notificationsCount)
andnavigator.clearAppBadge()
can set and clear the application badge that shows up with PWA and pseudo-PWA windows (create a pseudo-PWA with three dots menu -> More Tools -> Create Shortcut... -> Open as window).On macOS this looks like this in the Dock: