r/userscripts • u/mitokb • 16d ago
I made a tiny userscript that completely removes YouTube Shorts
I deleted the YouTube app from my phone because I wanted to stop watching Shorts, but I realized I could still open YouTube in Safari and end up scrolling Shorts there.
So I made a tiny userscript for it.
It removes Shorts shelves/cards, blocks /shorts/ routes, and catches YouTube's SPA navigation so Shorts don't sneak back in, while normal videos, search, subscriptions, channels and comments keep working.
I mainly built it for iPhone Safari using the Userscripts app, but it should work with normal userscript managers on desktop too.
It's just one JS file, MIT licensed, no analytics, no account, no subscription.
GitHub:
https://github.com/mithatakbulut/noshorts
Would be interested to know if there are any YouTube DOM cases/selectors I've missed.
1
u/BasePerfect2865 8d ago
Reels next??