Open glibg10b opened 3 years ago
I also think it should be more precise (e.g. 98.2% instead of 98%), since most videos in my feed have ratios > 97%
Thank you for these feature requests. I like these ideas.
I have increased the precision of the percentage text to one decimal as suggested. The only time a decimal place is not shown is when the video has a 100% rating, in which case only "100%" is shown (I thought that would look better and be shorter than "100.0%"). This update has been released in version 1.3.7.
About changing the text color to blue, since the people who were original in support of adding the percentage text wanted it to be color-coded, I want to leave that as the default, but I would be open to adding an option for the user to change the color to a constant color of blue, or also possibly grey. However, I currently do not have the extra time to implement this additional option into the settings page. But if you or anyone else wants to submit a pull request for this, I would be open to reviewing it and adding it.
Also, if you just want to hardcode the color to blue for personal use (as a simpler option), you can download this repo and overwrite the ratingToRgb
function to always return a blue color:
https://github.com/elliotwaite/thumbnail-rating-bar-for-youtube/blob/master/extension/content-script.js#L384
Then go to your browser's extensions page and choose to load an unpacked extension, and then choose the "extension" directory at the root of this repo. Let me know if you need any more help getting this option to work.
If I've liked a video, the percentage:
should be blue so I can see that I've liked the video.