YouTube Hide UI on Arrow Keys, Show on Mouse Move

Ok tuşları UI'yi açmasın ama mouse hareketinde görünsün (tüm .ytp- elemanları otomatik algılanır)

当前为 2025-02-15 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Kaan Alper Karaaslan
评分
0 0 0
版本
2.0
创建于
2025-02-15
更新于
2025-02-15
大小
2.0 KB
许可证
GPL-3.0
适用于

YouTube UI Hide on Arrow Keys

YouTube UI Hide on Arrow Keys, Show on Mouse Move

This script enhances the YouTube viewing experience by hiding the user interface (UI) when using arrow keys and making it visible only when the mouse moves.

How It Works

  1. Automatic UI Detection: The script dynamically selects all YouTube UI elements that begin with the class .ytp-, ensuring it applies to all relevant controls.
  2. UI Hides on Arrow Key Press: When using Arrow Left, Arrow Right, Arrow Up, or Arrow Down, the UI will be hidden after a short delay.
  3. Mouse Movement Restores UI: Moving the mouse will instantly bring back the UI, but if no further movement is detected for 2 seconds, it will automatically hide again.

Key Features

  • Distraction-Free Viewing: The UI remains hidden when using keyboard controls.
  • Mouse-Activated Visibility: The UI only appears when the user actively interacts with the screen.
  • Automatic UI Detection: Works on all YouTube UI elements without requiring manual updates.
  • Future-Proof: The script dynamically adjusts to potential YouTube UI changes.

Benefits

This approach creates a more immersive and seamless video-watching experience. By preventing UI pop-ups when navigating with arrow keys, users can focus on content without interruptions, while still having easy access to controls when needed.