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的反馈

评价:好评 - 脚本运行良好

§
发表于:2023-08-08

Script works well in version 1.2.4 but in 1.2.5 it caused a bug where clicking the "remove from watch later" icon works but it then 'clicks through'. By that I mean that it removes the video as it should but then it 'clicks through' and clicks below the icon and opens the video link.

Looks like the bug comes from changing the click listener method from:
el.addEventListener('click', onClick, true);
to
el.addEventListener('mousedown', onClick, true);


I'm still using 1.2.4 but presumably changing back to el.addEventListener('click', onClick, true); should fix it. For context, using Firefox 116.0.1

woxxom作者
§
发表于:2023-08-08

I can't reproduce the problem using the latest script 1.2.8.

§
发表于:2023-08-10

Script works well in version 1.2.4 but in 1.2.5 it caused a bug where clicking the "remove from watch later" icon works but it then 'clicks through'. By that I mean that it removes the video as it should but then it 'clicks through' and clicks below the icon and opens the video link.

Looks like the bug comes from changing the click listener method from:
el.addEventListener('click', onClick, true);
to
el.addEventListener('mousedown', onClick, true);


I'm still using 1.2.4 but presumably changing back to el.addEventListener('click', onClick, true); should fix it. For context, using Firefox 116.0.1

i bet u won't see this bug after switching to different yt account

发表回复

登录(不可用)以发表回复。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址