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

(Bug): No dislike counter on Kiwi Browser #507

Open
Animan8000 opened this issue Mar 16, 2022 · 4 comments
Open

(Bug): No dislike counter on Kiwi Browser #507

Animan8000 opened this issue Mar 16, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@Animan8000
Copy link

Browser

Kiwi Browser

Browser Version

v99.0.4844.66

Extension or Userscript?

Extension

Extension/Userscript Version

v2.1.0.3

Video link where you see the problem

No video, but added screenshots in description.

What happened?

No dislike counter shows up when using the Kiwi Browser. It's a chromium Browser for the phone with chromium desktop extensions support. A friend of mine can confirm the same issue, in both cases we're on Android, me v10 Android and him v12. Both of us tested it yesterday.

Screenshot_20220316_114206
Screenshot_20220316_114201

Thanks!

How to reproduce/recreate?

  • Install the extension from the chrome store on that browser and open any YouTube video in the browser.
@Animan8000 Animan8000 added the bug Something isn't working label Mar 16, 2022
@Animan8000
Copy link
Author

Update: It seems that desktop mode of YouTube.com solves it but not mobile mode. However I am really against desktop mode on YouTube because it's more difficult to use, watch and it's also more laggy than mobile.

@awilson0518
Copy link

I have had the same issue. It also appears in the Firefox Nightly browser. Refreshing the page seems to cause the dislike count to appear but a second dislike count appears near the profile picture of the video uploader
Screenshot_20220315-150734_Firefox_Nightly
.

@sy-b
Copy link
Contributor

sy-b commented Mar 19, 2022

a second dislike count appears near the profile picture of the video uploader

fixed in #486

@Dwyriel
Copy link

Dwyriel commented Aug 21, 2023

Until somewhat recently this wasn't a problem for me using kiwi browser, but with a more recent (probably a few months old by this point) update they made to the mobile layout, the addon completely broke.

I made a script that uses the returnyoutubedislike API and was able to "fix" (as in, properly show) the issues. (It's very badly written and full of small hacks so I wouldn't recommend anyone using it unless you really want the feature like I did/do).

By wasting a good few hours on this, I discovered a few things that might (or might not be) relevant to the problem: youtube keeps rewriting the like/dislike button multiple times until the page is fully loaded and also whenever you click either of the two buttons, overwriting any possible changes anyone could have made to it (if no observer/event is used to monitor any changes and then modify it back again). The style of the button itself also has to be modified as it won't auto-expand. It also doesn't help that youtube is a SPA.

I've no familiarity with youtube's code (the javascript side) nor developing extensions, much less with return-youtube-dislike's codebase so this is the extend that my poor skills can take me, I hope someone more knowledgeable can come up with a better solution and integrate it with RYD so there's no need for external scripts.

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

4 participants