Chrome web store badge doesn't always show the "K"
bokub opened this issue ยท 9 comments
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
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