Firefox: https://addons.mozilla.org/en-US/firefox/addon/cookie-autode... Chrome: https://chrome.google.com/webstore/detail/cookie-autodelete/...
It is not container-aware and no allow lists are possible. Everything gets deleted. Probably because of these limitations it's off by default.
I seemed to have remembered some older arguments in this discussion:
https://github.com/Cookie-AutoDelete/Cookie-AutoDelete/issue...
It's a strange thing. It's so annoying that I've essentially given up Youtube. I don't care enough about the videos that I want to Login and whitelist (and have a profile recorded) the site, and this makes the experience bad. Ergo YT is fading from my life. Can't say that I miss it all that much after a few days, it has been a habit more so than something I actively enjoy.
I use Cookie AutoDelete and YouTube doesn't give me any problems for discarding its cookies. But maybe one of the uBlock Origin annoyance filter lists I use is taking care of the nag screen.
That said I usually browse youtube with minimal setup
* * * block
* * frame block
* 1st-party css allow
* 1st-party frame allow
* 1st-party image allow
youtube.com 1st-party script allow
youtube.com 1st-party xhr allow
youtube.com googlevideo.com xhr allow
youtube.com ytimg.com image allow
If you go to youtube without cookies, your video starts playing. Then it stops and you get a popup asking if you want to sign in. You click no, then it rewinds your video.. then you have to click play and re-watch the part you already watched.
Every video.
Even google as a search engine becomes a less attractive option when you have to agree to their 50 page long privacy policy every time you search for something.