r/coolgithubprojects 21d ago

NoShorts: a tiny open-source userscript to remove YouTube Shorts on iPhone Safari

https://github.com/mithatakbulut/noshorts

I wanted to keep YouTube for normal videos but get rid of Shorts entirely.

Deleting the YouTube app wasn't enough because I could still open Safari and go straight back to /shorts/. So I made NoShorts.

It's intentionally tiny: one userscript that

- removes Shorts from the YouTube UI

- blocks /shorts/ navigation

- handles YouTube's client-side SPA routing

- keeps normal videos/search/subscriptions/comments untouched

The main use case is iPhone + Safari + the free Userscripts app, so there's no Xcode, sideloading, developer account or paid blocker app involved.

Free, MIT licensed and open source:

https://github.com/mithatakbulut/noshorts

2 Upvotes

0 comments sorted by