Shows the total amount for each rating, total/daily installs, and scripts posted on any user profile and search pages.
< 脚本Greasy Fork - Analyze from posted scripts的反馈
That's true, but after testing the code without parseInt https://pastebin.com/raw/iXWkQcSv I haven't seen any change.
My profile and yours still show a total of more than a thousand, I saw that I don't even need to use parseInt at all anywhere, but using it or not didn't change anything and all numbers remained the same, so I don't see a reason to remove parseInt, although it's needless.
Do you see a stats diff between the current version and the pastebin version?
obj.total_installs is never a string anyway, so since there isn't a "," anywhere, it calculates correctly using parseInt, or without using it.
I could remove it just because it's needless and apparently the stats load 1 sec faster when I don't use parseInt.
parseInt(obj.total_installs, 10)
is incorrect.parseInt(..., 10)
for "1,234" will become 1please fix for all
parseInt(..., 10)