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或关注我们的公众号极客氢云获取最新地址