badgen.net
badgen.net copied to clipboard
Chrome web store badge doesn't always show the "K"
Hello @amio !
This badge says "4" when I open it in my browser, when it's supposed to say "4K".
However, it says "4K" when I include it on GitHub using markdown, which is very weird...
Here is the dynamic badge. Right now, I see "4K", but maybe it will say "4" in a few hours 🤷
Do you have an explanation for this weird behavior? Thanks!
That's strange 🤔
I can see the "5K" in https://flat.badgen.net/chrome-web-store/users/hpoiflhmfklhfcfpibmdmpeonphmdbda
So weird, I see 5. I'm on mobile, on a different network since last time...
Hello !
It looks like this bug it still going on, and it's now visible directly on the homepage of badgen.net, where I can read "200 users", while there are actually 200k users
The issue might be coming from webextension-store-meta, which looks abandonned by its maintainer
Oh, I think I understand now ! The result seems to depend on the request location
For example,
Maybe the chrome web store response depends on the location, and this is not properly handled by webextension-store-meta for European countries...
As a temporary fix, I created a runkit endpoint to fix this badge:
https://runkit.com/bokub/chrome-web-store-users
Example badge using this endpoint:
URL:
https://badgen.net/runkit/bokub/chrome-web-store-users/hpoiflhmfklhfcfpibmdmpeonphmdbda
Thanks @bokub ! I'm doing an refactor https://github.com/badgen/badgen.net/pull/579 , I'll integrate the fix in the migration.
This should get fixed by now, thanks @bokub !