Hide YouTube Shorts On Everywhere (Toggle Button)

Toggle removal of YouTube Shorts content

질문, 리뷰하거나, 이 스크립트를 신고하세요.
개발자
Kaan Alper Karaaslan
일일 설치수
2
총 설치수
3
평점
0 0 0
버전
1.3
생성
2025-04-26
갱신
2025-04-26
크기
3.44KB
라이선스
https://raw.githubusercontent.com/KaanAlper/HideYTShorts/refs/heads/main/LICENSE
동작 사이트

Hide Youtube Shorts On Everywhere (Toggle Button)

This userscript allows you to toggle the visibility of YouTube Shorts content on the platform. With a simple toggle button added to the YouTube header, you can hide or show Shorts videos as per your preference. The state of the toggle (enabled/disabled) is stored in localStorage, so the setting persists even after page reloads.

Features:

  • Toggle button to enable/disable YouTube Shorts content.
  • Button text and background color change based on Shorts visibility.
  • Persistent state using localStorage (remembers your choice across sessions).
  • Automatically redirects from a Shorts video page to a regular video if accessed directly.

Installation:

  1. Install a userscript manager like ViolentMonkey or Tampermonkey or Greasemonkey.
  2. Create a new userscript and paste the code.
  3. Save and enable the script.

How to Use:

  • Click the "Shorts: VISIBLE" or "Shorts: HIDDEN" button to toggle Shorts visibility on YouTube.
  • The button will update its label and color to reflect the current state.

License:

This project is licensed under the my own Licence.