Greasy Fork is available in English.

Return YouTube Dislike

Return of the YouTube Dislike, Based off https://www.returnyoutubedislike.com/

< Feedback on Return YouTube Dislike

Question/comment

§
Posted: 2022-10-18

Workaround

Line 74. Replace : "#like-button > ytd-like-button-renderer" with : "#top-level-buttons-computed > ytd-segmented-like-dislike-button-renderer"

Line 106. Replace return getButtons().children[1]; with return getButtons().querySelector("#segmented-dislike-button");

Line 112. Replace getDislikeButton().getElementsByTagName("yt-formatted-string")[0] with getDislikeButton().querySelector("ytd-toggle-button-renderer > yt-button-shape > button > yt-touch-feedback-shape")

After Line 273. Add a line. #segmented-dislike-button button > yt-touch-feedback-shape {margin-left: 5px;}

§
Posted: 2022-10-24

Can confirm it works with this changes. Thank you

BFP
§
Posted: 2022-10-27

Can confirm this works. Real help in the comments always

§
Posted: 2022-10-28

Youtube design was updated again, this workaround doesn not work anymore, unfortunately

§
Posted: 2022-11-01

can confirm this worked

§
Posted: 2022-11-01

on Firefox this fix works

§
Posted: 2022-11-01

on Firefox this fix works

Tell me please your version of Return YouTube Dislike script. Mine is 3.0.1 and it does not work.

§
Posted: 2022-11-01

on Firefox this fix works

Tell me please your version of Return YouTube Dislike script. Mine is 3.0.1 and it does not work.

It's working, you probably editing something wrong way.

§
Posted: 2022-11-01

It's working, you probably editing something wrong way.

Yes, my fault. I did editing again and now it works. Thank you.

§
Posted: 2022-11-01
Edited: 2022-11-01

After Line 273. Add a line. #segmented-dislike-button button > yt-touch-feedback-shape {margin-left: 5px;}

I have something to add. If in your browser the dislike text is wider than the dislike button, add the following line after the mentioned new line 274:
#segmented-dislike-button button {width: unset;}

§
Posted: 2022-11-01
Edited: 2022-11-01

One more issue: when you click dislike button, the number of dislikes dissapears. In order to make it fully functional again, one should do more editing:

Line 611.
Replace buttons.children[1].addEventListener("click", dislikeClicked);
with buttons.querySelector("#segmented-dislike-button").addEventListener("click", dislikeClicked);

Line 613.
Replace buttons.children[1].addEventListener("touchstart", dislikeClicked);
with buttons.querySelector("#segmented-dislike-button").addEventListener("touchstart", dislikeClicked);

§
Posted: 2022-11-01

One more issue: when you click dislike button, the number of dislikes dissapears. In order to make it fully functional again, one should do more editing:

I'm sorry, the correct lines are 609 and 611

Post reply

Sign in to post a reply.