As an aggravating side-effect, I've had to click through constant Google/Youtube consent popups in past months and having grown fed-up with it, I went looking for solutions. At first most answers I found recommended installing further browser addons, something that I'm not really keen on. I had to do a few rounds of testing and my remedy is far from perfect (e.g., it pauses every video at start in Yt), but I'm posting it here for discussion and future reference.
Here's what worked for me (custom lines added to "My Filters" tab in uBlock):
FTR, here are the most relevant sources I used while researching this:
Code: Select all
google.*##.jw8mI google.*##div[jsname][jsaction^="dg_close"] google.*##html:style(overflow: visible !important;) google.*##.widget-consent-fullscreen.widget-consent youtube.com##.ytd-popup-container.style-scope youtube.com##.opened