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):
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
- www.ghacks.net/2021/04/01/
here-is-the-easiest-way-to-get-rid-of-googles-before-you-continue-to-youtube-prompt/ - www.ghacks.net/2020/09/27/
how-to-deal-with-googles-and-youtubes-aggressive-popups-before-you-continue-sign-in/ - stackoverflow.com/questions/63680896/
- old.reddit.com/r/uBlockOrigin/comments/ip2bu0/
- old.reddit.com/r/uBlockOrigin/comments/ilvepd/
- exbulletin.com/tech/420196/