Auto Close YouTube Ads

Close and/or Mute YouTube ads automatically!

< Feedback on Auto Close YouTube Ads

Review: Good - script works

§
Posted: 07.04.2024

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

§
Posted: 11.04.2024

same problem here. I'm using Safari/Mac

fuzetsuAuthor
§
Posted: 19.04.2024
Edited: 19.04.2024

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.

§
Posted: 29.04.2024

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

§
Posted: 30.04.2024

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.

Post reply

Sign in to post a reply.