no cookies, please — a browser extension that rejects cookie banners for you

A browser extension that answers cookie banners for you with one rule: strictly necessary cookies only, everything else rejected, third-party cookies included. It never clicks accept. It is not in the extension stores yet, so it is installed by hand — download the file for your browser and follow the steps below.

Version 0.1.0 · MIT licence · about 33 KB · no data is collected or sent anywhere · source on GitHub

install it

Chromium browsers load an unpacked extension from a folder on your computer. The folder has to stay where it is: the browser reads the extension from it every time it starts.

  1. Unzip the download into a folder you will keep, for example Documents/no-cookies. Not the Downloads folder if you tend to clear it.
  2. Open the extensions page by typing its address into the address bar — a web page is not allowed to link to it: chrome://extensions
  3. Turn on Developer mode. It is a switch at the top right of the page in Chrome and Opera, and in the left sidebar in Edge.
  4. Click Load unpacked and choose the folder you unzipped — the one that has manifest.json directly inside it.
  5. Pin it from the puzzle-piece menu if you want its icon in the toolbar. The icon shows what it did on the current page, and lets you pause it for one site.

Updating: download the new version, unzip it over the old folder, and press the reload arrow on the extension's card on the extensions page. Settings are kept.

What it does on a page

Each page is handled in three layers, from the most reliable to the least:

  1. The consent tool's own API. When a site uses OneTrust, Cookiebot, Didomi, Usercentrics, Klaro, consentmanager.net or Cookie Information, the extension calls that tool's own reject function. Nothing is clicked.
  2. Known consent tools. For about 30 more, among them Sourcepoint, Google Funding Choices, Quantcast, TrustArc, CookieYes, Complianz, Borlabs, iubenda and Osano, it clicks "reject all". If there is no such button, it opens the settings, switches every toggle off and saves.
  3. Any other banner. It looks for a visible button labelled "reject all", "only necessary" or similar, in all 24 official EU languages, and only inside something that looks like a cookie prompt.

It never clicks an accept button, never follows a link that would leave the page, and only acts during the first 30 seconds after a page loads. It can also switch on the browser's own third-party cookie blocking; that is a switch in its popup.

What it does not do

Permissions it asks for

It makes no network requests of its own and collects no data. The code is plain, unminified JavaScript: unzip the download and read it.