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

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

Open
1 task done
lightbeam24 opened this issue Oct 26, 2023 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@lightbeam24
Copy link

Have you tried to find similar open issues?

  • Yes, this issue is not a duplicate

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant