YouTube, with a few boundaries

YouTube.
On your terms.

Keep the videos. Skip the endless scroll.

Block Shorts, set a daily watch-time limit, or use both. Two free userscripts for YouTube in Safari.

Explore the tools

Free & open source · Made for iPhone Safari

youtube.com
Your next project starts hereSubscriptions · 18 min
Shorts hiddenRegular videos stay right where they are.

Tap the timer to preview your watch history.Illustrative preview · sample data

No account.No subscription.No viewing analytics.Your data stays local.

The tools

Two tools.
Use either. Or both.

Choose what you want to change about YouTube.

Shorts blocker

YouTube without
the Shorts.

Remove Shorts shelves, cards, and links. Keep the videos, channels, and conversations you came for.

  • Hides Shorts throughout your feed
  • Stops navigation into the Shorts viewer
  • Leaves regular YouTube videos available
Get the Shorts blocker noshorts.user.js
Watch-time limiter

Set a limit.
Stick to it.

Choose how much YouTube fits into your day. Count real playback, see where your time went, and stop when your budget is used.

  • A quiet timer in the video’s top-right corner
  • Daily history and a 7 / 30-day line chart
  • Limit changes start tomorrow once you watch
Get the time limiter youtube-limit.user.js

Each is independently installable. Use one, or install both for Shorts-free browsing with a daily budget.

Watch-time limiter

Your watch time,
at a glance.

A small timer while you watch.
The details when you want them.

  1. 01

    Time remaining

    The faint timer sits inside the video, away from YouTube’s search button. Tap it to open your details.

  2. 02

    Daily allowance

    Watched time, minutes remaining, and the hours until your allowance renews at local midnight.

  3. 03

    History and trends

    See daily totals on a line chart. Scroll your video history, with the most recently watched first.

Example of the NoShorts drawer: 38 minutes watched, 22 minutes remaining, a renewal countdown, a daily watch-time line chart, and recent videos.
Actual limiter interface · illustrative viewing history

How limits work

Decide before
you press play.

Choose 15 minutes, 30 minutes, an hour, two hours—or your own budget from 5 minutes to 4 hours.

Once you start watching, today’s limit is locked. Change your mind in settings, and the new limit starts tomorrow. At zero, playback pauses. You can still search, browse, and read comments.

No “add ten minutes.” No reset button.
A fresh allowance at the next local midnight.

Installation

Up and running
in Safari.

Runs on YouTube in Safari through the Userscripts extension.
Desktop userscript managers work too.

  1. 01

    Get Userscripts.

    Install Userscripts from the App Store . Open it and choose a scripts folder in Files.

  2. 02

    Pick one. Or both.

    Download your chosen script files into that folder. Keep the .user.js ending—send the files themselves, not text pasted into Notes.

  3. 03

    Allow it in Safari.

    In Settings → Apps → Safari → Extensions, enable Userscripts. Grant access to YouTube, then refresh your YouTube tab.

Only seeing your old script?

Check that the new file is in the folder selected in Userscripts. In Files, download it from iCloud if needed, and make sure its name doesn’t end in .txt.

Prefer a walkthrough?

Show the setup prompt
Help me install NoShorts on my iPhone using the Userscripts Safari extension. I want to choose between its Shorts blocker and daily watch-time limiter, or install both. Guide me through saving the .user.js files and enabling them on YouTube. Project: https://github.com/mithatakbulut/noshorts

Questions & answers

Good to know.

Do I need both scripts?

No. The Shorts blocker removes Shorts. The time limiter manages normal video playback with a daily budget. Neither depends on the other.

Does this work inside the YouTube app?

No. Use YouTube in Safari on iPhone or iPad. On desktop, use a userscript manager with the supported GM storage APIs. See the desktop instructions.

What counts as watching?

Actual playback of normal videos on YouTube watch pages. Pausing, browsing, seeking, and buffering do not consume your budget. At 2× speed, a real minute still counts as one minute. Background playback counts while Safari continues running the script.

Where does my history go?

It stays in your userscript manager’s local storage. No viewing analytics or external account. History thumbnails load from YouTube. Data is not automatically shared across devices or browser profiles.

What should I know about iPhone Safari?

Native fullscreen can hide custom overlays. iOS may suspend the script in the background; long suspension gaps are discarded to avoid phantom watch time, which can undercount playback. Multiple tabs can briefly overshoot a budget. Real-device compatibility checks are ongoing.

Can I get around the limit?

This is a tool for your own intentions, not a tamper-proof lock. Changing settings after playback won’t extend today’s budget, but disabling the script, clearing storage, or changing your device clock can bypass it. Read the limitations.

Free, open source, and yours.

Watch what you want.
Then get on with your day.

Explore the tools

NoShorts / Time limiter

Watch-time drawer

The actual drawer, with sample viewing history. The website does not track your watching.

NoShorts time drawer showing the daily budget, renewal countdown, seven-day chart, and scrollable recent videos.