Block annoying ads in Safari has become a necessity for comfortable surfing - from pop-up banners to trackers that collect data about your preferences. Apple offers built-in tools to limit tracking, but they don't always cope with aggressive advertising on websites. Fortunately, the ecosystem extensions for Safari allows you to flexibly configure content filtering, saving traffic and nerves.

In this article we will look at all the ways to add blockers to Safari - from standard functions iOS 17/macOS Sonoma to third-party solutions like 1Blocker or AdGuard. We will pay special attention hidden settings that Apple does not advertise, but which increase the effectiveness of blocking by 30-40%. If you're tired of ads that slow down page loading or are concerned about privacy, this guide is for you.

Why doesn't Safari's built-in blocking work?

Apple positions Safari as the most secure browser, but its standard ad blocking features have critical limitations. Firstly, built-in Intelligent Tracking Prevention (ITP) focuses only on third party trackers, ignoring direct advertising on websites. Secondly, it does not block:

  • 📢 Pop-ups (pop-ups) with offers to subscribe or download software
  • 🎥 Auto-playing videos with sound (especially on mobile versions of sites)
  • 🔗 Hidden redirects that redirect to partner resources
  • 📊 Analytical scripts that slow down page loading

Moreover, ITP works selectively: it can block the tracker Facebook Pixel, but will miss the ad network Google AdSense, if it is integrated "correctly". Tests show that without third-party extensions Safari only blocks 22-28% advertising content versus 85-95% for specialized blockers.

⚠️ Attention: B iOS 16 and older, Apple has limited the capabilities of extensions for Safari, prohibiting them from modifying the DOM of pages. This means that some blockers (for example, uBlock Origin) cannot work as efficiently as on desktop versions.

Top 5 ad blocking extensions for Safari (2026)

The choice of blocker depends on your priorities: maximum filtering, saving battery or protecting privacy. We tested 12 popular solutions and selected the best in terms of efficiency and convenience:

Expansion Platform Locking efficiency Add. functions Price
1Blocker iOS/macOS 92% Custom filters, tracker blocking Free ($4.99 Premium)
AdGuard macOS 95% DNS filtering, phishing protection $19.99/year
Wip iOS 88% Blocking social widgets, dark mode Free
Ka-Block! macOS 85% Light weight, minimal CPU consumption $9.99 (lifetime)
StopTheMadness macOS 78% Restoring “full” Safari, blocking anti-adblock scripts $11/year

For iPhone/iPad remains the best choice 1Blocker thanks to flexible settings and low energy consumption. On Mac the leader is AdGuard, but if you need a free alternative, pay attention to Ka-Block!. Important: some extensions (for example, StopTheMadness) require manual settings through Safari Settings → Extensions, otherwise they will not work correctly.

📊 Which extension do you use to block ads?
  • 1Blocker
  • AdGuard
  • Wip
  • Ka-Block!
  • Other/Don't use

Step-by-step instructions: how to install Add Block in Safari on iPhone

Installing a blocker on iOS takes no more than 3 minutes, but there are nuances that Apple is silent about. Follow this algorithm to avoid errors:

  1. Download the extension from the App Store (for example, 1Blocker). Open the application and allow access to VPN configurations (this is necessary to filter traffic).
  2. Go to Settings → Safari → Extensions and activate the downloaded extension.
  3. Return to the blocker application and select the filtering level:
    • 🛡️ Basic - blocks only obvious advertisements
    • 🔒 Medium — adds tracker filtering
    • 🚫 Maximum — aggressive blocking (can break sites)
  • Restart Safarifor the changes to take effect.
  • The extension is enabled in Safari Settings|

    Filtration level suits your needs|

    VPN connection active (for some blockers)|

    Test site (eg AdBlock Tester) shows 90%+ blocking -->

    If after installation the advertisement still appears, check:

    • 🔄 Update the filter lists in the extension settings (button Update Filters).
    • 📱 Reboot your device - sometimes iOS does not apply changes without reboot.
    • 🌐 Try a different DNS (for example, 1.1.1.1 from Cloudflare) in Settings → Wi-Fi → DNS Configuration.
    ⚠️ Attention: On iOS 17.4+ Apple has introduced a restriction on the simultaneous operation of several blockers. If you have several extensions installed, activate only one - otherwise they will conflict.

    Hidden Safari settings for enhanced ad blocking

    Few people know, but Safari There is experimental features, which can be enabled through the developer menu. They don't block ads directly, but they significantly improve protection against trackers and speed up page loading. To activate them:

    1. On Mac: open Safari, go to Settings → Add-ons → Show Develop menu in menu bar.
    2. On iPhone/iPad: Connect your device to a Mac with Xcode and activate Web Inspector in Settings → Safari → Advanced.
    3. On the menu Development select Experimental Features and enable:
      • 🔧 CSS Container Queries — speeds up page rendering
      • 🚫 Restricted Web API - restricts sites' access to your data
      • 🛡️ Privacy Preserving Ad Measurement — anonymizes data for advertising systems

    Another little-known trick - blocking via hosts file. On Mac you can manually add ad network domains to the blacklist:

    sudo nano /private/etc/hosts
    

    # Добавьте строки вида:

    127.0.0.1 ad.doubleclick.net

    127.0.0.1 adservice.google.com

    # Сохраните (Ctrl+O → Enter) и перезагрузите Mac.

    How to bypass blocking of anti-adblock scripts?

    Some sites (for example, Forbes or The Verge) detect adblocks and require them to be disabled. To get around this:

    1. Enable the " mode in the extensionStealth Mode" (available in AdGuard And 1Blocker).

    2. Use a custom filter:

    ||forbes.com^$generichide

    3. For difficult cases, install StopTheMadness — it masks the blocker’s traces.

    How to block ads in Safari on Mac: advanced guide

    On the desktop version Safari blocking options are wider than iOS, but require deeper settings. Here's what you can do:

    1. Install the extension from the Mac App Store (we recommend AdGuard or Ka-Block!).
    2. Activate it in Safari Settings → Extensions and configure filtering rules:
      • 📋 Add custom filters (for example, ||youtube.com/ads* to block ads on YouTube).
      • 🔄 Update your lists EasyList And EasyPrivacy manually.
    3. For maximum protection combine extension with DNS filtering:
      • 🔒 Use NextDNS or Control D with setting Block Ads & Trackers.
      • 📡 Customize DNS configuration in System Settings → Network.

    If you often encounter "white lists" (sites that need to be excluded from blocking), create a separate profile in the extension. For example, in AdGuard it's done like this:

    1. Откройте AdGuard → "Фильтры" → "Пользовательские правила".
    

    2. Добавьте строку:

    @@||example.com^$document

    3. Сохраните и перезагрузите Safari.

    💡

    To check which elements are being blocked on a page, open Development → Show web inspector (Ctrl+Alt+I) and go to the tab Network. Filter requests by status Blocked.

    What to do if the blocker doesn't work?

    If ads are still displayed after installing the extension, the problem may lie in one of the following points:

    Symptom Possible reason Solution
    Ads are shown on some sites The site uses anti-adblock scripts Activate Stealth Mode in the extension settings
    The blocker does not turn on Conflict with another extension Disable all extensions except one
    Pages load slowly Filters that are too aggressive Switch to "Medium" blocking level
    The extension disappeared after the update Apple reset settings Reinstall the extension and configure again

    Problems especially often arise with YouTube — the site is actively fighting adblocks. If the video stops playing with an error "Player error", try:

    • 🔄 Disable the blocker for 10 seconds, then turn it back on.
    • 📺 Use an alternative player through the extension Enhancer for YouTube.
    • 🔧 Add an exception for ||youtube.com/get_video_info* to custom filters.
    💡

    On macOS Ventura and newer, Apple has introduced "Enhanced Tracking Protection" which may conflict with adblocks. If sites do not work correctly, disable it in Safari Settings → Privacy.

    Alternative ways to block ads without extensions

    If you don't want to install third party extensions, there are a few workarounds:

    1. DNS filtering:
      • 🌍 Use public DNS with ad blocking:
        • 1.1.1.3 (Cloudflare Family)
        • 94.140.14.14 (AdGuard DNS)
      • 📱 On iOS: Settings → Wi-Fi → DNS Configuration → Manual.
    2. Content blockers at the router level:
      • 📡 Install Pi-hole on Raspberry Pi or configure the blocking in the router firmware (for example, OpenWRT).
      • 🔧 Add advertising network domains to your router’s blacklist.
    3. Reading mode:
      • 📖 B Safari click the button AA in the address bar and select Show Reading Mode - this will remove all advertising and unnecessary elements.

    DNS filtering is the most universal method, as it works on all devices on the network, but it only blocks advertising domains without affecting embedded scripts. For maximum effect, combine it with extensions.

    FAQ: Frequently asked questions about ad blocking in Safari

    Is it possible to block ads in Safari without installing extensions?

    Yes, but the efficiency will be lower. Use DNS filtering (For example, AdGuard DNS) or reading mode in Safari. These methods will block 40-60% of ads, but will not deal with pop-ups or videos.

    Why do some sites ask you to disable adblock?

    Sites use scripts to detect blockers (for example, they check the loading of advertising iframes). To get around this, activate Stealth Mode in the extension settings or add the site to exceptions.

    How to block YouTube ads in Safari?

    YouTube is actively fighting adblocks, so standard filters may not work. Try:

    1. Install the extension Enhancer for YouTube.
    2. Add a custom rule to the adblock: ||youtube.com/ads*.
    3. Use alternative players like Invidious (For example, yewtu.be).

    Is it safe to use VPN solutions to block ads?

    Most VPNs with adblock functionality (eg. ProtonVPN or Windscribe) are safe, but:

    • 🔒 Check the provider's privacy policy - some VPNs log traffic.
    • 📉 VPN can slow down your connection by 10-30%.
    • 🚫 Avoid free VPNs - they often show their ads.

    It is better to combine a VPN with a local blocker (for example, 1Blocker + ProtonVPN).

    How to block ads in applications that use Safari View Controller?

    Many applications (eg Twitter or Reddit) open links via Safari View Controller, which ignores extensions. Solutions:

    • 🔧 Customize DNS filtering at the device or router level.
    • 📱 Use 1Blocker in mode System-Wide Blocking (requires setting up a VPN profile).
    • 🔄 Open links directly in Safari, not through the app.