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

Dislikes still not showing up in the latest version of the extension (issue with rolling like count) #950

Closed
1 task done
user73185 opened this issue Oct 13, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@user73185
Copy link

Have you tried to find similar open issues?

  • Yes, this issue is not a duplicate

Browser

Firefox

Browser Version

118

Extension or Userscript?

Extension

Extension/Userscript Version

v3.0.0.11

Video link where you see the problem

Happens on every video

What happened?

I still can't see the dislike counter. My account got selected for an a/b testing feature for "rolling like count", where the like counter updates in real time. I think that's the reason why the extension still doesn't work for me, because if I switch to an account that doesn't have the rolling likes experiment, or open a private window, then the extension works again.
dislikes

How to reproduce/recreate?

Open any video with an account that has the rolling like count experiment enabled.

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

Yes

@user73185 user73185 added the bug Something isn't working label Oct 13, 2023
@raspin0
Copy link

raspin0 commented Oct 13, 2023

Have you tried to find similar open issues?
Apparently, not

This looks like a duplicate of #944

@tazlsucks
Copy link

This is not a duplicate, this person seems to have a different bug with the updated version of the extension.

@user73185
Copy link
Author

The issue you linked does not mention the rolling likes experiment, also it is for the previous version of the extension (v3.0.0.10).
I opened this issue for the latest version (v3.0.0.11).

@tdreams2
Copy link

I found a solution and the dislike count appears but I'm not sure if it's reliable this way or not

I changed this line of code in createDislikeTextContainer() function:
const textNodeClone = (getLikeButton().querySelector("button > div[class*='cbox']") || getLikeButton().querySelector('div > span[role="text"]').parentNode).cloneNode(true);

changed to this:
const textNodeClone = (getLikeButton() || getLikeButton().parentNode).cloneNode(true);

@Anarios
Copy link
Owner

Anarios commented Oct 14, 2023

Looks like you're receiving an even different UI version (i.e. an experimental A-B testing YouTube UI).

@Anarios
Copy link
Owner

Anarios commented Oct 14, 2023

Closing as clone of #946

@Anarios Anarios closed this as completed Oct 14, 2023
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

5 participants