Can Screen Time block only part of a website, like instagram.com/reels, on iPhone? (2026)
No: Screen Time's website restrictions work on whole domains, so you can block instagram.com but not just instagram.com/reels. minulo blocks the whole Instagram app and website while you're blocking, and shows Instagram
No: Screen Time's website restrictions work on whole domains, so you can block instagram.com but not just instagram.com/reels. minulo blocks the whole Instagram app and website while you're blocking, and shows Instagram inside its own app with the Reels tab and Explore tab hidden (YouTube works the same way, with Hide the Shorts shelf and Hide the Shorts tab). You don't pay anything to hide them.
I'm the developer of minulo, and this post is about how that works in our code, including one trap we designed around and one real bug.
The user-facing steps (App Limit, Downtime, adding instagram.com under Never Allow) are on how to block Instagram on iPhone. Every one of those works on the whole app or the whole website.
What the API takes: domains, not paths
An app that has the Screen Time permission writes its rules into a ManagedSettingsStore. For websites there are two places:
-
store.shield.webDomains: website tokens the user picked in Apple's picker. -
store.webContent.blockedByFilter: a filter policy..specific(...)takes a set ofWebDomain, and.auto()turns on Apple's adult content filter.
A WebDomain is a domain. There's no field for a path, so instagram.com/reels isn't something you can hand it. If you want Reels gone but DMs kept, the cut has to happen somewhere other than the Screen Time filter.
Our list is also capped. We keep the constant in the extension and the same number in the app:
let WEB_CONTENT_FILTER_POLICY_MAX_DOMAINS = 50
store.webContent.blockedByFilter = .specific(
Set(domains.prefix(WEB_CONTENT_FILTER_POLICY_MAX_DOMAINS).map { WebDomain(domain: $0) })
)
Our code comments note 50 as Apple's limit for this list. minulo only puts the hosts of the services you added in minulo into it, so we stay well under that.
The filter also blocks your own WKWebView
This one surprised us. The web filter isn't only for Safari. It also applies to the WKWebView inside the app that set it. minulo shows Instagram, YouTube and the rest in a WKWebView, so turning on the filter for instagram.com made our own Instagram screen fail to load.
So minulo lifts the web filter only while you're on a social media screen inside minulo, and puts it back as soon as you leave:
- When a social media screen appears, minulo writes a pause time 3 hours ahead. The native code clears the filter while that time is in the future.
- When minulo goes to the background, the pause is dropped right away and the filter comes back.
- For a short interruption (Control Center, Face ID, a permission sheet) it waits 1 second. If minulo isn't active again by then, the filter comes back. Putting it back instantly broke pages that were halfway through loading.
- Every time minulo starts, it drops any pause left over.
The end time is there so a crash doesn't leave the website unblocked with no end. The native code checks it whenever the shield is rewritten or minulo comes to the front, and opening minulo again drops the pause anyway.
const PAUSE_SEC = 3 * 60 * 60;
function setPause(on: boolean) {
pausedUntil = on ? Math.floor(Date.now() / 1000) + PAUSE_SEC : 0;
syncWebGuard();
}
Trap: one store, two features
minulo also has an optional adult website filter, and it uses the same webContent.blockedByFilter. A store holds one value for it, so if both features wrote to the default ManagedSettingsStore, clearing the social media filter would also clear the adult filter, and the other way around.
So the adult filter gets a named store of its own:
let store = ManagedSettingsStore(named: ManagedSettingsStore.Name("minulo.adult"))
store.webContent.blockedByFilter = on ? .auto() : nil
If two features in your app both touch the web filter, give each one its own named store, so clearing one doesn't clear the other.
Bug: the same check in two places
The decision "should instagram.com be blocked right now?" runs in two processes:
- the app, when you change a setting (
setWebGuard) - the DeviceActivity extension, every time it rewrites the shield on a schedule (
syncMinuloWebBlock)
Both need the exact same condition. The condition is roughly: block the websites if there are domains to block, some app is shielded, and no pause is running.
let shielded = (store.shield.applications?.isEmpty == false)
|| store.shield.applicationCategories != nil
|| held // Instagram is unshielded only to deliver DM notifications
if domains.isEmpty || !shielded || pauseUntil > Date().timeIntervalSince1970 {
store.webContent.blockedByFilter = nil
} else {
store.webContent.blockedByFilter = .specific(/* ... */)
}
That held line exists because of the DM notification beta in minulo Pro. To let Instagram's DM notifications arrive, minulo briefly takes Instagram off the app shield. If the person is blocking only Instagram, the app shield is now empty, so without held the code reads that as "nothing is blocked" and lifts the website filter too.
We added held to the extension first and missed the app. During an audit we found the result: with only Instagram blocked, if you sent minulo to the background while a notification window was open, instagram.com opened in Safari. Each side looked correct on its own, but the two disagreed. Now both copies have the held line, and the app's copy has a comment saying it must match syncMinuloWebBlock in the extension.
So how does minulo hide only Reels?
Not with Screen Time. Screen Time does the coarse part: it blocks the Instagram app and instagram.com while you're blocking. The fine part happens in minulo's own view of Instagram, where the Reels tab and Explore tab are separate switches, and you can turn on either one or both. DMs, Stories and posts from people you follow still work.
What this doesn't change:
- The official Instagram app isn't changed. Reels are hidden only inside minulo.
- While the official app is blocked, its notifications don't arrive. In minulo Pro there's a beta that lets Instagram DM notifications through while Instagram is blocked (not during Sleep mode, Focus time in Work mode, or after the daily limit).
- A block is up to 2 hours each time on the free plan. Longer blocks, Sleep mode, Work mode, Hard Mode and the Daily limit are in minulo Pro ($9.99 a month or $39.99 a year in the US).
- minulo is on iPhone, and on Mac in Safari and Chrome. There's no Android or iPad version.
FAQ
Can Screen Time block only part of a website, like instagram.com/reels?
No, Screen Time blocks whole websites, and the filter an app can set takes domains with no path. To hide only Reels and keep DMs, minulo hides the Reels tab inside its own view of Instagram for free.
How many websites can an app block with the web content filter?
minulo caps its list at 50 domains, which our code notes as Apple's limit for the filter. Apple's picker tokens (shield.webDomains) are a separate list.
Why does my own WKWebView stop loading after I turn on the web filter?
The filter also applies to the WKWebView in the app that set it. minulo lifts it only while a social media screen is open, with a 3-hour limit, and puts it back when the app leaves the foreground.
How the app block and the website block fit together, step by step: how to block Instagram on iPhone. What still works in Safari and what doesn't: using Instagram in Safari instead of the app.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.