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

Fix video rating percentage #34

Closed xethlyx closed 3 years ago

xethlyx commented 3 years ago

It looks like YouTube may now be lazy loading #dismissable so the parent element has to be searched for instead. I'm not able to confirm this is occurring for everyone but this quick edit fixes the issue for me

elliotwaite commented 3 years ago

Okay, thanks! I'll merge this and test it out soon (probably tomorrow or the next day).

elliotwaite commented 3 years ago

I updated it a bit to make it work in a few more places that use different container class names (https://github.com/elliotwaite/thumbnail-rating-bar-for-youtube/commit/b86da7e7e46290aea39ca2673401e711ad2b1d65), but if you notice that it's still not working for certain thumbnails, let me know. I just released the update in version 1.3.1. Thanks again for the fix!