This just appeared on my screen when visiting YouTube. Yes, I use Ublock Origin. However, what is all of this about? Will I be banned from YouTube if I don't comply?
sorry to reply to this old comment but i just wanted to say the comma after the } on line 21 breaks it, remove that and it imports in and works great. thanks for the code!
I use the Invidious method; whenever I want to watch or share a YouTube video, I'll copy and paste the section after the YouTube domain to the suffix of an Invidious domain.
This may also be a temporary work around, as YouTube can and will disrupt Invidious sites too if they accumulate enough traffic. The best long term solution is to encourage artists, journalists, and entertainers to share their free videos on PeerTube instances, and support federated video hosting.