How to clear the Windows Task Bar badge for the PWA

Sometimes the PWA badge gets out of sync with your notifications. This can get annoying:

image

You can manually clear it through the PWA’s developer console in Chrome or Edge:

  1. Open the Discourse PWA.

  2. PressCtrl + Shift + J to open the console.

  3. Enter:

    await navigator.clearAppBadge()

  4. Close developer tools.

Profit! :tada:

What do you think about moving that to Wiki? It might be easier to find it there than in Support.

1 Like

As long as I keep attribution :wink:

(kidding)

1 Like

(post deleted by author)