Greasy Fork is available in English.

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"

< Commentaires sur YT: not interested in one click

Avis: Bon - le script fonctionne correctement

§
Posté le: 11/03/2022

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

wOxxOmAuteur
§
Posté le: 12/03/2022

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

§
Posté le: 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)

wOxxOmAuteur
§
Posté le: 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.

§
Posté le: 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.

wOxxOmAuteur
§
Posté le: 24/03/2022

Are there any warnings/errors in devtools console?

§
Posté le: 24/03/2022

No warning nor error relevant to the script.

wOxxOmAuteur
§
Posté le: 25/03/2022

Welp, try the new version.

§
Posté le: 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.

wOxxOmAuteur
§
Posté le: 25/03/2022

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

§
Posté le: 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.

§
Posté le: 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!

§
Posté le: 27/04/2022

Now (1.1.5) it works well, apparently.

Poster une réponse

Connectez-vous pour poster une réponse.