Menu
EN

Apple integrates content-blocking feature into Safari. What we know so far

Apple is purportedly planning to integrate ad-blocking directly into its Safari browser, as reported by AppleInsider in an exclusive scoop. According to the publication, the feature will be dubbed “Web Eraser” and will be accessible through the updated page control menu set to debut with the forthcoming iOS 18.

True to its name, the feature is said to enable users to “erase unwanted content from any page of their choosing.” This will encompass nuisances like banner ads, images, text, and, if desired, can extend to “entire page sections.” The report indicates that the process of purging distractions or other undesired elements from web pages should be effortless and can be accomplished “with relative ease.”

Once you’ve gotten rid of all the distractions, they’re gone for good and won’t scurry back to the page when you close it. According to the report, Safari will keep track of the changes you’ve made to the page. So when you revisit it, Safari will display the page without the clutter you’ve banished, presenting it in its clean and modified state. If you are not satisfied with your job, you can let the exiled elements come back by asking the browser to restore the webpage to its original state.

l3llblappleinsider
Source: AppleInsider

A ‘must-have’ for any ad blocker

According to AppleInsider, Apple appears to have taken inspiration for the feature from 1Blocker, a third-party blocking app. But even according to 1Blocker itself, this feature is a staple among ad-blocking apps, and has been for years. We agree with 1Blocker when it says that this is “a must-have for any content blocking app.”

jzf89blocker1
Source

AdGuard has the same feature across all its desktop apps and browser extensions, as well as in AdGuard for iOS. Depending on your device, it’ll take you from two to four clicks or taps to block any element on the page. For example, in AdGuard for iOS you have to tap the shield icon and select the “Block elements on this page” option.

hkg04safari1
z0wrasafari2

From there, you can click or tap on any element on the page that you’d like to hide.

74znasafari3
3mwuysafari4

You can view the filtering rule associated with the blocked element by clicking on the checkmark icon.

9ja3ssafari5

Screenshot: Selective element ad blocking in the AdGuard for iOS

You can see the video of the entire process here

AI rumors

There have been several, though unconfirmed, reports that the Web Eraser feature might be AI-powered. While there is no indication that it indeed will be AI-driven in AppleInsider’s original report, there is a fertile ground for speculation, given AI’s widespread integration into various facets of our lives, including ad blocking. About a year ago we witnessed the birth of the very first AI-powered ad blocker for YouTube — GPT-AdBlocker — if you’re curious, we’ve tested it and results were quite a mixed bag.

It’s essential to draw an important distinction here. While AI has proven rather successful in tasks like identifying images and speech, identifying ad elements in a page’s code, and most importantly, creating corresponding filtering rules to hide them poses a different challenge. Eyeo, the parent company of AdBlock and Adblock Plus, has been making some progress in that regard, having worked on an AI model that would automatically classify URLs parameters and determine if a certain portion of a page has ads or not. The model has reportedly reached certain precision, but the company is still working on a proof of concept.

The unveiling of the new Apple’s browser version may occur at Apple’s annual Worldwide Developers Conference (WWDC), which spans from June 10 to June 14, just a couple weeks away. It’s anticipated that Apple will also announce iOS 18 during the event and commence beta testing for developers. As per AppleInsider, Safari 18, as the new software will be named, is set to debut “later in 2024.” So we have to be patient and wait for its official release to see if Apple’s in-built ad blocker has some AI features.

But we will be rather surprised if it does. The way we see it, an AI-driven ad blocker should be capable of automatically parsing page code, identifying elements, creating filtering rules, and using them to conceal undesired elements while ensuring the page does not break in the meantime and all the useful elements are displayed in an orderly fashion. While it is possible in theory, this will be incredibly hard to achieve. For one, configuring the AI to create error-free rules is very challenging, since some of these rules can be lengthy and complex.

adguard.com###app > main.main:nth-child(2) > div.welcome > div.product-presentation:nth-child(3) > div.product-presentation__in > div.product-presentation__products:last-child > div.product-presentation__product.product-presentation__product--windows > div.product-presentation__product-slider:first-child > div.swiper.swiper-container.slider.swiper-initialized.swiper-horizontal.swiper-pointer-events.swiper-backface-hidden > div.slider__arrow.slider__arrow--next:last-child

Example of a more complicated ad-blocking rule

Thus, even if AI accurately identifies the ads, there is a quite substantial risk of it botching the rules formulation part. You make one tiny mistake in the rule syntax, and the page looks completely differently from what you’ve intended. Not to mention the interdependencies within these rules. Sometimes, one cannot be added without the other, or one must consider the old rules when adding new ones, and so forth. It’s an incredibly complex and iterative process, in which every character is of outsized importance.

Overall, relying solely on AI for ad blocking isn’t trustworthy at the moment, and it’s susceptible to adversarial methods, meaning it’s easy to trick the model. However, using an AI model to spot bugs in filtering rules is a great idea and such tool would be a great aid for filter developers. We’ll definitely consider it at AdGuard once the technology reaches a sufficient level of maturity.

Concluding thoughts

Apple’s decision to integrate content-blocking into Safari is a boon for privacy. Ads aren’t just irksome and annoying, they’re also trackers, stealthily monitoring your online activity across various websites. These trackers collect data on your browsing habits, preferences, and interests, creating detailed profiles that can be exploited for targeted advertising or even sold to third parties without your consent.

As for the details of the implementation, we can only speculate until we see it with our own eyes. But we wouldn’t count on it being AI-driven to any significant degree; it’s more likely that Apple has drawn inspiration from some tried-and-true techniques that third-party ad blockers have been using for years.

Discuss this and other topics in social media

Liked this post?
18,370 18370 user reviews
Excellent!

AdGuard for Windows

AdGuard for Windows is more than an ad blocker. It is a multipurpose tool that blocks ads, controls access to dangerous sites, speeds up page loading, and protects children from inappropriate content.
By downloading the program you accept the terms of the License agreement
Read more
18,370 18370 user reviews
Excellent!

AdGuard for Mac

AdGuard for Mac is a unique ad blocker designed with macOS in mind. In addition to protecting you from annoying ads in browsers and apps, it shields you from tracking, phishing, and fraud.
By downloading the program you accept the terms of the License agreement
Read more
18,370 18370 user reviews
Excellent!

AdGuard for Android

AdGuard for Android is a perfect solution for Android devices. Unlike most other ad blockers, AdGuard doesn't require root access and provides a wide range of app management options.
By downloading the program you accept the terms of the License agreement
Read more
18,370 18370 user reviews
Excellent!

AdGuard for iOS

The best iOS ad blocker for iPhone and iPad. AdGuard eliminates all kinds of ads in Safari, protects your privacy, and speeds up page loading. AdGuard for iOS ad-blocking technology ensures the highest quality filtering and allows you to use multiple filters at the same time
By downloading the program you accept the terms of the License agreement
Read more
18,370 18370 user reviews
Excellent!

AdGuard VPN

74 locations worldwide

Access to any content

Strong encryption

No-logging policy

Fastest connection

24/7 support

Try for free
By downloading the program you accept the terms of the License agreement
Read more
18,370 18370 user reviews
Excellent!

AdGuard Content Blocker

AdGuard Content Blocker will eliminate all kinds of ads in mobile browsers that support content blocker technology — namely, Samsung Internet and Yandex.Browser. While being more limited than AdGuard for Android, it is free, easy to install and still provides high ad blocking quality.
By downloading the program you accept the terms of the License agreement
Read more
18,370 18370 user reviews
Excellent!

AdGuard Browser Extension

AdGuard is the fastest and most lightweight ad blocking extension that effectively blocks all types of ads on all web pages! Choose AdGuard for the browser you use and get ad-free, fast and safe browsing.
18,370 18370 user reviews
Excellent!

AdGuard Assistant

A companion browser extension for AdGuard desktop apps. It offers an in-browser access to such features as custom element blocking, allowlisting a website or sending a report.
18,370 18370 user reviews
Excellent!

AdGuard DNS

AdGuard DNS is a foolproof way to block Internet ads that does not require installing any applications. It is easy to use, absolutely free, easily set up on any device, and provides you with minimal necessary functions to block ads, counters, malicious websites, and adult content.
18,370 18370 user reviews
Excellent!

AdGuard Home

AdGuard Home is a network-wide software for blocking ads & tracking. After you set it up, it’ll cover ALL your home devices, and you don’t need any client-side software for that. With the rise of Internet-Of-Things and connected devices, it becomes more and more important to be able to control your whole network.
18,370 18370 user reviews
Excellent!

AdGuard Pro for iOS

AdGuard Pro has much to offer on top of the excellent iOS ad blocking in Safari already known to the users of the regular version. By providing access to custom DNS settings, the app allows you to block ads, protect your kids from adult content online, and safeguard your personal data from theft.
By downloading the program you accept the terms of the License agreement
Read more
18,370 18370 user reviews
Excellent!

AdGuard for Safari

Ad blocking extensions for Safari are having hard time since Apple started to force everyone to use the new SDK. AdGuard extension is supposed to bring back the high quality ad blocking back to Safari.
18,370 18370 user reviews
Excellent!

AdGuard Temp Mail

A free temporary email address generator that keeps you anonymous and protects your privacy. No spam in your main inbox!
18,370 18370 user reviews
Excellent!

AdGuard for Android TV

AdGuard for Android TV is the only app that blocks ads, guards your privacy, and acts as a firewall for your Smart TV. Get warnings about web threats, use secure DNS, and benefit from encrypted traffic. Relax and dive into your favorite shows with top-notch security and zero ads!
Downloading AdGuard To install AdGuard, click the file indicated by the arrow Select "Open" and click "OK", then wait for the file to be downloaded. In the opened window, drag the AdGuard icon to the "Applications" folder. Thank you for choosing AdGuard! Select "Open" and click "OK", then wait for the file to be downloaded. In the opened window, click "Install". Thank you for choosing AdGuard!
Install AdGuard on your mobile device