11/18/2020

Removing Google's Consent Nag Screen

If you are like me, you do not store Google's cookies, so you get the consent dialog each time after a restart of your browser.

If you use the extension Stylish (I don't, because afaik the company behind it collects user data) or Stylus, you can import the following user style:

@-moz-document regexp(".*://.*\\.google\\..*/.*"), regexp(".*://.*\\.youtube\\..*/.*") {

/* google */
#lb
{
    display: none !important;
}

html
{
    overflow: auto !important;
}


/* youtube */

ytd-popup-container,
#consent-bump
{
    display: none !important;
}
iron-overlay-backdrop{
    display: none !important;
}
}


This simple style will get rid of the consent popup on Google and a similar pop up on Youtube.

Enjoy.

Note: tested with FF/Stylus only

adaxas Web Directory