Page 1 of 1

Google/Youtube popups

Posted: Wed Apr 21, 2021 7:10 am
by Midas
As a privacy counter-measure, I have my browser set to aggressively clear non allow-listed cookies -- doing this via browser options and "Self-Destructing Cookies", "I don't care about cookies" and "uBlock Origin" (included with AdNauseam) Firefox addons.

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
FTR, here are the most relevant sources I used while researching this:

Re: Google/Youtube popups

Posted: Sun Apr 25, 2021 4:06 pm
by webfork
Midas wrote:
Wed Apr 21, 2021 7:10 am
Here's what worked for me (custom lines added to "My Filters" tab in uBlock)
Very interesting, thanks for posting about that.