On Linux or Windows? Firefox + uBlock origin (there’s nothing better than that)
On Mac? Firefox + uBlock origin (worse alternative: Safari + AdGuard, since you might synch browser with iPhone)
On Android? Firefox + Privacy Badger + uBlock Origin
On iOS? Safari + AdGuard + Vinegar + Baking Soda
On SmartTV it’s different.
Hardest overall solution that even works on PS5, Switch and other consoles: Get yourself a Pi-Hole https://pi-hole.net/
For WebOS TVs use this: https://github.com/webosbrew/youtube-webos
Android TVs should get SmartTube: https://github.com/yuliskov/smarttube#smarttube-old-name-smarttubenext
RokuTVs got either this thing: https://channelstore.roku.com/en-ca/details/840aec36f51bfe6d96cf6db9055a372a/playlet or the open source alternative: https://github.com/iBicha/playlet
Safari + Wipr is very solid too. Throw in a DNS filter for other stuff in my network, and I never see ads. Can’t speak for YT though because I ain’t using that. I’m using Control D for DNS, someone on Lemmy posted a small list with DNS alternatives a while back, and I don’t notice anything (negative) using it.
Is Wipr open source?