Greasy Fork is available in English.

Auto Close YouTube Ads

Close and/or Mute YouTube ads automatically!

< 腳本Auto Close YouTube Ads的回應

評論:正評 - 腳本一切正常

§
發表於:2024-04-07

I don't know if it's just me, but the script doesn't work for me (it mutes the video, but doesn't skip the ad). I read in a previous comment that it is solved by changing a line of code
skipButton: '.videoAdUiSkipButton,.ytp-ad-skip-button,.ytp-ad-skip-button-modern,.ytp-ad-skip-button-text,.ytp-ad-skip-button-slot',
I already changed it and even added more ccs code, but it still doesn't work.
skipButton: '.videoAdUiSkipButton,.ytp-ad-skip-button,.ytp-ad-skip-button-modern,.ytp-ad-skip-button-text,.ytp-ad-skip-button-slot,.ytp-ad-skip-button-icon,.ytp-ad-skip-button-container,.ytp-ad-skip-button-icon-modern',
If anyone knows how to solve it, please tell me. I love this script, it is very useful
Thanks in advance

§
發表於:2024-04-11

same problem here. I'm using Safari/Mac

fuzetsu作者
§
發表於:2024-04-19
編輯:2024-04-19

I haven't gotten the new skip button yet, so I didn't noticed, but I pushed an update based on this thread here: https://greasyfork.org/en/scripts/9165-auto-close-youtube-ads/discussions/239968

Hopefully that fixes it for you.

If not maybe you can try following the instructions in that thread to get the right selector, and post it here for me to include in another update.

§
發表於:2024-04-29

this is the class from the button ytp-ad-skip-button-modern ytp-button

But just now i tried it on Microsoft Edge on my pc and another pc with Chrome and it worked. So I guess it's something about this specific chrome. I'll do a re-install or something to see if it fixes it.

Anyway, I'm leaving the code here just in case. I will give a good rating since the error is on my part

same problem here. I'm using Safari/Mac

gabrielferrari714 try with another browser or reinstalling

§
發表於:2024-04-30

this is the class from the button ytp-ad-skip-button-modern ytp-button

But just now i tried it on Microsoft Edge on my pc and another pc with Chrome and it worked. So I guess it's something about this specific chrome. I'll do a re-install or something to see if it fixes it.

Anyway, I'm leaving the code here just in case. I will give a good rating since the error is on my part

same problem here. I'm using Safari/Mac

gabrielferrari714 try with another browser or reinstalling

now it's working.
An update came out a few days ago, and now it's working.
thanks.

發表回覆

登入以回復