69

What might be an effective way to universally block or auto-accept common cookie warning banners before the web browser shows them to the user?

Eg. does a userscript (Greasefire/Tampermonkey) exist to find and thwart most cookie-warning implementations, perhaps via a regex search? Or at least can this be accomplished with an extension? (Trying not to bloat the browser with yet another extension, though.)

This applies to many outdated UK and EU websites, especially now that the "Cookie Law" is behind us.

6 Answers 6

27

2018 - update: As stated by @ElegyD in the comments:

Prebake hans't been updated in 2 years. uBlock Origin now uses Fanboy's Cookiemonster List instead, you can enable it in the Annoyances category.


Late 2015 update. The way to go nowadays appears to be with uBlock Origin, outperforming AdBlock and its variants.

It has an option to enable:

  • EU: Prebake - Filter Obtrusive Cookie Notices‎
6
  • 4
    Hint: The Prebake option is listed under uBlock Origin > Dashboard > Third-party filter lists > Areas, languages (the last grouping) > scroll to the letter E (from EU). In Dutch: Instellingen > Filters van derden > Gebieden, talen (de laatste groep voor "Aangepast").
    – Pro Backup
    Jul 7, 2016 at 20:55
  • 1
    For those who can't find the item listed in uBlock Origin, you can manually add it to the list from the official page: prebake.eu
    – Banderi
    Feb 11, 2018 at 16:15
  • 12
    Prebake hans't been updated in 2 years. uBlock Origin now uses Fanboy's Cookiemonster List instead, you can enable it in the Annoyances category.
    – ElegyD
    May 4, 2018 at 7:33
  • 1
    The problem with using something like uBlock is we don't want to just hide the pop-ups, we want to "click" to allow/accept all cookies. Hiding the pop-up will often reject cookies, and that can cause issues with functionality of websites.
    – orrd
    Jan 28, 2021 at 23:15
  • It's been another 4 years, and uBlock Origin no longer has Fanboy's Cookiemonster as an option. You can use Easylist Cookie instead.
    – jcady
    Jul 18, 2022 at 23:25
24

There is a Firefox/Chrome add-on called I don't care about cookies that will help you to remove these warnings from many thousands of, as it says, "infected" websites :)

3
  • 3
    The add-on page also provides ADblock plus add-on subscription list, which is what I prefer. Jan 11, 2016 at 11:06
  • 1
    Afaics the plugin means consenting to all cookies.
    – Suuuehgi
    Oct 5, 2019 at 10:20
  • I used to run that extension, but recent reviews warn the plugin was taken over by a corporation that started collecting users' private data. I don't know how to verify that, but to be safe, I uninstalled it.
    – odigity
    Oct 19, 2023 at 17:20
16

If you use AdBlock or AdBlock Plus extension for Chrome, Firefox, etc. you can add a custom list filter to it that will block these pop-ups. Some ad blockers have built-ins list filters that block this and others annoyances.

I personally use Prebake. To use it just make sure you have one of the supported adblockers, access the site and click in the "Subscribe to the Prebake list filter".

3
  • 2
    Link seems to be down. This one should work: prebake.eu
    – einjohn
    Jan 3, 2017 at 18:23
  • In the case the website goes down: github.com/liamja/Prebake
    – user198350
    May 21, 2017 at 18:36
  • We don't want to just hide the pop-ups, we want to "click" to allow/accept all cookies. Hiding the pop-up will often reject cookies, and that can cause issues with functionality of websites.
    – orrd
    Jan 28, 2021 at 23:14
4

2022 update: uBlock Origin has cookie notice blocking built in. Enable Fanboy’s Annoyance filter list, which has EasyList Cookie List built in, or enable EasyList Cookie List directly.

3

CookiesOK is able to detect and handle several often used scripts such as CookieCuttr and CookieGuard. Developer can also make their script compatible with the extension.

There are extensions available for Chrome, Firefox and Opera.

0

AdBlock Plus now has the feature built in. If you have the extension installed, just click on it, and then select the gear option. Then when you are on settings, select "Block cookie warnings".AdBlock Plus Settings Screenshot

1
  • Just a note, but AdBlock Plus does not work as well as uBlock Origin, and tries to charge for features uBlock Origin offers for free. Nov 27, 2023 at 18:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .