Greasy Fork镜像 还支持 简体中文。

No More YouTube Shorts (Toggle Button)

Toggle removal of YouTube Shorts content

目前為 2025-04-26 提交的版本,檢視 最新版本

作者
Kaan Alper Karaaslan
評價
0 0 0
版本
1.3
建立日期
2025-04-26
更新日期
2025-04-26
尺寸
3.3 KB
授權條款
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.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址