RARBGHelper icon indicating copy to clipboard operation
RARBGHelper copied to clipboard

Rarbg Ratings

Open ezpana opened this issue 3 years ago • 2 comments

How do I change Rarbg ratings back to 2 decimal places on this newest version? On previous version (1.7.0) it was simple (only adding d in line 88 -> (\d.\dd)\d/), but now (version 1.7.1 or 1.7.2) what do I add?

ezpana avatar May 22 '22 09:05 ezpana

the rating shown in the version 1.7.0 is extracted from one of the hidden elements (.current-rating) https://github.com/PeratX/RARBGHelper/blob/f0ceb30d76b1b5531ebac197743f29485f706df7/rarbg-helper.user.js#L86

but in 1.7.2 it takes from the proper element with casted votes count https://github.com/PeratX/RARBGHelper/blob/master/rarbg-helper.user.js#L128 Screenshot 2022-05-22 at 9 30 40 PM

& the casted votes count is very useful Screenshot 2022-05-22 at 9 43 59 PM

hedcet avatar May 22 '22 16:05 hedcet

OK and can it be expanded it into 2 decimal places, for example on Everything.Everywhere.All.At.Once so that it would show 4.07/5 (281 votes cast)?

ezpana avatar May 23 '22 18:05 ezpana