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.

Excellll
  • 12,847
Marcos
  • 1,161

6 Answers6

28

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
Marcos
  • 1,161
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,360
kikok
  • 241
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
  • 4,269
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.

Edward Brey
  • 2,005
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