68

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‎
4
  • 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
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 :)

2
  • 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
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
    – user598527
    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
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

0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.