Anarios / return-youtube-dislike

Chrome extension to return youtube dislikes
https://returnyoutubedislike.com/
GNU General Public License v3.0
12.34k stars 548 forks source link

"Re-format like numbers" does not work with YouTube's "Rolling like counts" experiment #976

Open lightbeam24 opened 9 months ago

lightbeam24 commented 9 months ago

Have you tried to find similar open issues?

Browser

Mozilla Firefox

Browser Version

Firefox 118.0.1

Extension or Userscript?

Extension

Extension/Userscript Version

v3.0.0.12

Video link where you see the problem

https://www.youtube.com/watch?v=bKxf0NQyb0c

What happened?

When "Re-format like numbers" is enabled, it does not actually reformat the like count, and the like to dislike bar does not show up. This happens if the user has the "Rolling like counts" experiment, where the like count updates in real time. This experiment seems to be rolling out to many people now.

This is the result (Like numbers are not reformatted, and the RYD bar does not exist in the HTML): image

It probably happens because of this error: console

Here is the HTML structure of the like button with this experiment enabled if that helps anything: htmlstructure

If Re-format like numbers is disabled, the RYD bar will appear and work as normal.

How to reproduce/recreate?

If you have the rolling like counts experiment, enable "Re-format like numbers", and go to any video.

If you don't have the rolling like counts experiment: open YouTube in a private window, and then check if the like button's HTML structure looks like it does above. If it doesn't, close the private window and try again until it does. The experiment seems to be fairly common now so it shouldn't take too many tries.

Will you be available for follow-up questions to help developers diagnose & fix the issue?

Yes