In the browser, i didnβt login in the google account, and I didnβt accept the cookies on that site. Using privacybadger that supposedly should block the 3rd party spyware like that
As other people have mentioned, you can use uBlock Origin to hide these banners.
For Reddit specifically, I recommend using a private frontend called Redlib. You can install LibRedirect to automatically redirect all Reddit links to Redlib.