> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.detox.so/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Can I block only part of an app, like the Instagram feed but not messages?

No. A block covers the whole app, so Detox can't block just the Instagram feed or just YouTube Shorts. The closest is a session limit on that app: you use it for the time you set, then it blocks. No kind of rule changes this, and neither does **Strict mode**.

> If you meant something else: **how a session limit counts** → see [How does a session limit work?](https://help.detox.so/en/article/session-limit-3tx3lt/). **Blocking a website** → see [How do I choose which apps and websites a rule blocks?](https://help.detox.so/en/article/choose-apps-1c5tgc8/).

## What comes closest to blocking part of an app?

Put the app in a session limit with a short **Use in a row**. You can open the app for a message, and a long scroll ends in a block.

1. Open the Blocks tab and tap **+ New**.
2. Tap **Session limit**.
3. Set **Use in a row** and **Then blocked**.
4. Pick the app under **Apps**, then tap **Turn on**.

If your time goes in many short visits instead, use a daily limit. See [How does a daily limit work?](https://help.detox.so/en/article/daily-limit-16wdk4i/).

## Can I block part of a website instead, like youtube.com/shorts?

No. **Custom websites** works the same way. It blocks the whole site, so typing youtube.com/shorts blocks all of youtube.com. A typed website doesn't block the app of the same name.