elliotwaite / thumbnail-rating-bar-for-youtube

A Chrome and Firefox extension for YouTube that adds a rating bar (likes/dislikes ratio) to the bottom of every thumbnail.
https://chrome.google.com/webstore/detail/youtube-thumbnail-rating/cmlddjbnoehmihdmfhaacemlpgfbpoeb
MIT License
250 stars 15 forks source link

Add formal support for hiding the rating bar #31

Closed xethlyx closed 3 years ago

xethlyx commented 3 years ago

When the thickness is set to 0 with the rating bar, it'll move the progress bar back to the bottom. I only moved minimal CSS necessary to avoid repaints, though feel free to change it up if you see fit.

elliotwaite commented 3 years ago

Looks good. I'll merge then add some updates.

elliotwaite commented 3 years ago

I just update the new code (https://github.com/elliotwaite/thumbnail-rating-bar-for-youtube/commit/9e027b865f6dc897b47dd828e81a0f776ca100ba). I ended up also refactoring a lot of things and adding the option to set the position of the bar (top or bottom). Feel free to test it out if you want before I publish the update.

xethlyx commented 3 years ago

The changes look great, though it appears that the lib folder is missing. It works as intended if the contents within the lib folder are reinserted - am I missing something?

elliotwaite commented 3 years ago

Good catch, that would have broken the extension. I added the lib folder.

This update has been released: version 1.2.1

Thanks for the contribution and for helping out with testing!