YT: not interested in one click

Hover a thumbnail on youtube.com and click an icon at the right: "Not interested" and "Don't recommend channel"

< Відгуки до YT: not interested in one click

Відгук: Добре - скрипт працює добре

§
Опубліковано: 11.03.2022

has a bug: sometimes clicking the "Not Interested" causes the dropdown to spawn from top-left

woxxomАвтор
§
Опубліковано: 12.03.2022

I've never encountered it. What is your browser? Tampermonkey/Violentmonkey/Greasemonkey version?

§
Опубліковано: 19.03.2022

Firefox 98.0.1, Tampermonkey 4.15.6154. Diagnosed to see if any other script or addon was interfering but that wasn't the case.

Also I just now realized the rating I've put was wrong, should be "OK" (Functional, but has bugs)

woxxomАвтор
§
Опубліковано: 20.03.2022

I couldn't reproduce it, but I've changed some timings in the new version, so maybe it'll fix the problem.

§
Опубліковано: 24.03.2022
§
Опубліковано: 24.03.2022

To explain what I do:
Open the subscriptions page or a video in a new tab;
(For easier observation) DON'T scroll down;
Click "Not Interested" or similar shortcut button from your script;
Look at top-left corner or try (and fail) to scroll down.

It only happens once per tab.

woxxomАвтор
§
Опубліковано: 24.03.2022

Are there any warnings/errors in devtools console?

§
Опубліковано: 24.03.2022

No warning nor error relevant to the script.

woxxomАвтор
§
Опубліковано: 25.03.2022

Welp, try the new version.

§
Опубліковано: 25.03.2022

The bug persists. Maybe there could be a way to cheat it by having it think you clicked on a blank spot anywhere else after.

woxxomАвтор
§
Опубліковано: 25.03.2022

The script is already doing it, so I can't imagine how the bug is even physically possible.

§
Опубліковано: 27.03.2022

OK, is there any way to have it close the element with the class "ytd-popup-container". Since that seems to be the pop up's class.

§
Опубліковано: 26.04.2022

Knock Knock, think I found what was going on.
changed line 71
document.body.click();
to
setTimeout(() => {document.body.click()}, 100);

It now clicks off correctly!

§
Опубліковано: 27.04.2022

Now (1.1.5) it works well, apparently.

Опублікувати відповідь

Sign in to post a reply.