The Anti-AntiAdblocker uBlock Origin filter to get rid of the annoying YouTube message. It turns off the JavaScript anti-adblock payload.

https://files.enderman.ch/scripts/yt-antiadblocker.txt

update, looks like the link is dead, but here are official instructions https://github.com/uBlockOrigin/uAssets/issues/19976

@yogthos
"About uBO/Youtube: please do not follow advice from random sources, most likely they don't know what they are doing and this ends up burdening volunteers who have looked into all this and know exactly what they are doing.
Carefully follow instructions at https://github.com/uBlockOrigin/uAssets/issues/19976 " -- https://twitter.com/gorhill/status/1712449569693315284
🟥🟥 YouTube.com: ALL issues - REPORT ONLY HERE 🟥🟥 · Issue #19976 · uBlockOrigin/uAssets

⚠️⚠️ PLEASE READ AND FOLLOW ALL OF THE INSTRUCTIONS FIRST ⚠️⚠️ Note: After each step, close your current tabs and open new tab to test again or it won't work. I updated uBO to the latest versions (...

GitHub
"Example of bad advice from random sources (i.e. not long-term uBO volunteers), unfortunately spreading since end of June, probably causing issues with all those who followed it, and further burdening filter list volunteers." https://twitter.com/gorhill/status/1712535387434786921
R. Hill on X

Example of bad advice from random sources (i.e. not long-term uBO volunteers), unfortunately spreading since end of June, probably causing issues with all those who followed it, and further burdening filter list volunteers.

X (formerly Twitter)