Skip to main content

How to install an ad blocker in Safari for iOS

About 3 minSwiftArticle(s)bloghackingwithswift.comcrashcourseswiftxcodesafari

How to install an ad blocker in Safari for iOS 관련

Swift > Article(s)

Article(s)
Safari > Article(s)

Article(s)

How to install an ad blocker in Safari for iOS – Hacking with Swift

How to install an ad blocker in Safari for iOS

iOS 9 is here, which means you can install a content blocker straight from the App Store

Note

if you're looking to make your own content blocker, you should read my free tutorial: Safari Content Blocking in iOS 9: a tutorial by example. This page describes how to install an existing content blocker from the App Store.

First things first: you need to pick a content blocker. Note that these are called "content blockers" not "ad blockers" because their job is to block any sort of web content the creator made. For many people mobile ads are the target, but they are able to do more so choose wisely!

Lots of content blockers have been announced as "coming real soon now", but as of this second the only one that is available worldwide is here: Crystalopen in new window. It is free for a limited time so don't hang around!

Important

Now for the important bit, so please read carefully. When you install a content blocker app, the app itself doesn't do very much. You'll see an icon on your home screen, yes, but that's not what does the blocking.

Instead, you need to enable the content blocker inside Safari, which is done using the Settings screen. I used the Crystal content blocker in the pictures below, but the process is the same for all content blockers.

Step 1

Install an app that has a content blocker

I chose <FontIcon icon="fa-brands fa-app-store-ios"/>Crystal, but any of them are just as good.
I chose Crystalopen in new window, but any of them are just as good.
Once the app is installed, you'll see its icon on your home screen, but there's not much point launching it unless you're extremely curious. This is because the content blocker isn't activated inside the app.
Once the app is installed, you'll see its icon on your home screen, but there's not much point launching it unless you're extremely curious. This is because the content blocker isn't activated inside the app.
What's new in iOS 9 for developers – Hacking with Swift

What's new in iOS 9 for developers
What's new in Swift 2.0 – Hacking with Swift

What's new in Swift 2.0
Project 32: SwiftSearcher

Add your app's content to iOS 9's Spotlight search and take advantage of the new Safari integration.
Introduction to WebKit Content Blockers | WebKit
Describing content blocking rules in a structured format ahead-of-time, rather than running extension-provided code.

이찬희 (MarkiiimarK)
Never Stop Learning.