Skip to content

vordenken/ShortBlock

Repository files navigation

ShortBlock for Safari

Downloads License Build PRs Welcome

A Safari extension that blocks YouTube Shorts — in the sidebar, the home feed, search results, recommendations, and on /shorts/ pages.

✨ Features

  • Hides the Shorts entry in the YouTube sidebar navigation
  • Removes Shorts shelves from the home feed
  • Hides individual Short items in feeds, search results, and recommendations
  • Redirects /shorts/ pages back to the YouTube homepage
  • Works on all YouTube domains (youtube.com, m.youtube.com, music.youtube.com)
  • Simple one-click on/off toggle in the popup
  • Handles YouTube's SPA navigation (single-page app)
  • Automatic updates via Sparkle (stable + beta channel)

🚀 Quick Start

⚠️ macOS Gatekeeper: ShortBlock is not notarized by Apple. macOS will block both the DMG and the app with a security warning — this is expected. Follow the steps below to allow them. Once installed, updates via Sparkle work without this workaround.

  1. Download the latest ShortBlock.dmg from Releases
  2. Try to open the DMG — macOS will block it with "cannot be opened because it is from an unidentified developer"
    • Open System Settings → Privacy & Security, scroll down and click "Open Anyway"
    • Open the DMG again and drag ShortBlock.app to your Applications folder
  3. Try to open ShortBlock.app — macOS will block it again with the same warning
    • Open System Settings → Privacy & Security, scroll down and click "Open Anyway"
    • Open the app again — it will guide you to enable the Safari extension
  4. Enable ShortBlock in Safari → Settings → Extensions

Updating: Open the ShortBlock app occasionally — Sparkle checks for updates automatically (once per day).

💻 Requirements

  • macOS 13.5 or later
  • Safari 16 or later

🔨 Building & Releasing

See BUILD.md for instructions on building from source, releasing, and configuring repository secrets.

🤝 Contributing

  • Code reviews and suggestions welcome
  • Bug reports via Issues
  • Feature improvements via Pull Requests

❤️ Support

If you find ShortBlock helpful, consider supporting its development:

Buy Me A Coffee Ko-fi

📝 License & Privacy

🙏 Acknowledgments

  • Inspired by AutoPiP
  • Built with Safari Web Extension technology

Created by vordenken

This project was developed with the assistance of AI.

About

Automatically hides Youtube Shorts (macOS 13+ Safari Extention)

Resources

License

Contributing

Stars

Watchers

Forks

Contributors