Playing devil advocate here. I hate when websites do these types of adblock checking etc, but YouTube still needs to make money to survive and pay for expenses and the creators.
I have YouTube premium, one of the few subscriptions I have, mainly because of YT music which I prefer over spotify. I have been paying for a couple of years now and will continue to do so unless they throw me ads even though I pay (like Twitter/X does).
Recently I found a way of having complete cashback of what I pay for YouTube Premium, using one of those crypto cards and then I receive that crypto and convert it back to eur. Almost 100% full cashback (some transaction fees on exchanges and stuff).
This is not the place to advertise such, I might write about the subject in a article or something but if you want help feel free to email me. It's my username here @ gmail.com. Either that or check the website in my profile, you'll find my emails there.
Again, playing devil's advocate, paying for premium (with or without cashback) solves your problem right away.
P.S. I am not affiliated on any of those platforms, just taking advantage of VC money that they are throwing at every crypto/blockchain/AI companies. I do get referral bonus, but I will explain it to you even if you don't use my referral link.