Remove the Google Cookie Consent Dialog with uBlock

Here is a simple way to get rid of the annoying Google Cookie Consent Dialog by using uBlock Origin.

You might not need the lines with the “google.se” domain, or you can change them to another country TLD.

! Remove the Google Consent Dialog // Nordicnode.com
www.google.com##div[jsname][jsaction^="dg_close"]
www.google.com##html:style(overflow: visible !important;)
www.google.com###lb

www.google.se##div[jsname][jsaction^="dg_close"]
www.google.se##html:style(overflow: visible !important;)
www.google.se##lb
consent.google.se

Get uBlock Origin for Firefox or Chrome.

4 thoughts on “Remove the Google Cookie Consent Dialog with uBlock”

  1. Thank you man.
    Until very recently I could avoid it by deleting cookies because google (and youtube) decided to not pester new cookies with that consent stuff.

  2. Thank you very much.

  3. This does not work anymore.

  4. this is the filter that works for me on 2021 / 11

    ! Google – remove cookie-consent-popup and restore scroll functionality
    google.*##.wwYr3.aID8W.bErdLd
    google.*##.aID8W.m114nf.t7xA6
    google.*##.jw8mI
    google.*##.vUd4jb
    google.*##div[jsname][jsaction^=”dg_close”]
    google.*##body:style(overflow: visible scroll !important;)
    google.*##.widget-consent-fullscreen.widget-consent

Comments are closed.