67

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.

Excellll
  • 12,627
  • 11
  • 51
  • 78
Marcos
  • 1,141
  • 1
  • 11
  • 17

6 Answers6

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‎
pjanssen
  • 103
  • 5
Marcos
  • 1,141
  • 1
  • 11
  • 17
  • 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 07 '16 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: http://prebake.eu/ – Banderi Feb 11 '18 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 04 '18 at 07: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 '21 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 '22 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 :)

Jason Aller
  • 2,340
  • 6
  • 23
  • 21
kikok
  • 241
  • 3
  • 3
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".

user198350
  • 3,769
  • 15
  • 50
  • 89
Allan Veloso
  • 319
  • 1
  • 3
  • 9
  • 2
    Link seems to be down. This one should work: http://prebake.eu/ – einjohn Jan 03 '17 at 18:23
  • In the case the website goes down: https://github.com/liamja/Prebake – user198350 May 21 '17 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 '21 at 23:14
3

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.

Edward Brey
  • 1,915
  • 6
  • 27
  • 38
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.

Máté Juhász
  • 21,403
  • 6
  • 54
  • 73
Julian Moreno
  • 151
  • 1
  • 8
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

Madison Knight
  • 239
  • 3
  • 8