https://github.com/OhMyGuus/I-Dont-Care-About-Cookies
(which is a maintained fork of the original I don't care about cookies extension, recently bought by Avast)
with https://github.com/Cookie-AutoDelete/Cookie-AutoDelete
This setup will automatically accept or reject, whichever works, the cookie nonsense and get rid of them once you're done with your tab. CAD comes with a friendly interface to white/greylist cookies you want to keep.
One of the default blocklist for uBlock Origin aims to remove cookie banners too, but a lot of them cannot be simply nuked that way, hence the above method.