omr-cy / FocusTube

Published:

Version: 2.0+c7ea20c

Summary: Completely remove YouTube distractions (Home feed, shorts, comments, and related videos) based on official Unhook source logic.

License: MIT

Antifeature: unspecified

FocusTube

A powerful, lightweight script designed to completely neutralize YouTube's addictive loops. Based on the proven logic of the official Unhook source, it strips away algorithmic traps and replaces them with a minimalist, search-first layout. Take back control of your time and focus on what you actually came to watch.


✨ Features

  • 🎯 Home Feed Neutralized: Completely hides the home feed recommendations, infinite scrolling, and category chips. Replaces them with a clean "Focus Mode Active" placeholder encouraging intentional searching.
  • 🚫 No Related Videos: Blocks the sidebar and under-video recommendation grid while watching, preventing mindless "rabbit hole" clicking.
  • 💬 Comments Section Hidden: Removes the entire comments ecosystem to keep you focused purely on the content, not the discussions.
  • 📱 Total Shorts Purge: Disables YouTube Shorts across the entire platform—removing them from the sidebar, mini-guide, search results, and feed shelves.
  • 🎬 Clean End Screens: Blocks end-screen video grids, recommendation tiles, and pop-up annotations when a video finishes playing.
  • 🌐 Sidebar Cleanup: Hides the Trending, Explore, and other highly distracting tabs from the navigation menu.
  • ⚡ Zero-Flicker Execution: Injects styles dynamically at the earliest possible moment with an active layout guard to ensure distracting elements are intercepted before they even render.

🚀 How to Use

  1. Make sure you have a userscript manager like Tampermonkey or Violentmonkey installed in your browser.
  2. Click the Install tab above on this page to add FocusTube to your manager.
  3. Open YouTube and enjoy a completely distraction-free, focus-driven environment!

🛠️ How It Works

FocusTube utilizes highly optimized CSS stylesheets coupled with powerful modern layout selectors to cleanly target dynamic content blocks. By leveraging early execution protocols, elements are suppressed immediately without causing annoying layout shifts or content flickering.


📄 License

This project is licensed under the MIT License — feel free to use, modify, and share it to help others build better digital habits.


Tip: If you ever need to temporarily see your feed or comments, you can easily toggle FocusTube ON or OFF with a single click directly from your userscript manager extension icon in your browser toolbar.

Rating: 0