How to stop cookie popups in Safari automatically

Updated · by Sufiyan Yasa, developer of Cookie DNT

Short answer: Safari has no setting to stop cookie consent popups. A Safari extension can either hide them (your choice is never sent) or click the site's own "Reject" button for you. Cookie DNT rejects them, then deletes the site's cookies when you leave.

Since GDPR, almost every site in Europe - and many elsewhere - asks you to accept cookies. Safari has no built-in way to answer for you.

Hiding vs rejecting

Extensions that deal with cookie popups work in one of two ways:

Rejecting is better for privacy when it works. Hiding is a fallback for popups with no reject option.

From version 2.12, Cookie DNT does both, in that order:

  1. When a consent popup appears, it clicks the reject or “necessary only” option.
  2. If there’s no reject option, it hides the popup.
  3. When you close the site’s tab, it can delete that site’s cookies too - so even cookies set before you answered don’t follow you around.

It uses DuckDuckGo’s open-source autoconsent rules, which cover the common consent tools (OneTrust, Cookiebot, Usercentrics, Didomi, Quantcast and many more). It won’t catch every popup on every site, and if a site misbehaves you can pause it for that site from the extension menu.

Turning on a Safari extension

Doesn’t Safari’s privacy protection handle this?

No. Intelligent Tracking Prevention limits cross-site tracking, but the consent popup is part of the page itself. Safari shows it like any other content.

Will rejecting cookies break sites?

Rarely. “Reject” still allows the cookies a site needs to work, like your login and cart. If a site does break, pause popup rejection for that site.

Does it block ads?

No. Cookie DNT rejects cookie popups and deletes cookies. For ads and trackers, use a content blocker alongside it.