Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - the percentage should be blue for liked videos #44

Open
glibg10b opened this issue Jul 28, 2021 · 2 comments
Open

Feature request - the percentage should be blue for liked videos #44

glibg10b opened this issue Jul 28, 2021 · 2 comments

Comments

@glibg10b
Copy link
Contributor

If I've liked a video, the percentage:
next to view count
should be blue so I can see that I've liked the video.

@glibg10b
Copy link
Contributor Author

I also think it should be more precise (e.g. 98.2% instead of 98%), since most videos in my feed have ratios > 97%

@elliotwaite
Copy link
Owner

elliotwaite commented Jul 30, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants