YouTube Vertical Toggle Videos/Comments

Toggle between "Videos" and "comments" sections on YouTube when screen width less than 1000px, is useful when on a Vertical Screen

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
Nate2898
日安装量
1
总安装量
17
评分
1 0 1
版本
1.2
创建于
2025-05-18
更新于
2025-12-23
大小
9.4 KB
许可证
MIT
适用于

YouTube Vertical Toggle Videos/Comments

This script enhances the YouTube browsing experience on vertical or narrow screens (e.g., portrait monitors or mobile devices). When the browser width drops below 1000px, it introduces a toggle switch below the video player, allowing users to easily switch between viewing the “Up Next”/Related Videos and the Comments section, which are otherwise displayed together in cramped layouts.

What this script does:

  1. The toggle button is always injected into the page, regardless of screen size.
  2. It is only visible when the screen is narrower than 1000px, thanks to responsive CSS rules.
  3. You can set the default section (Videos/Comments) that will be the default section that is always shown by default.
  4. It restores that default state on new video loads or when resizing back to a narrow screen.

Feedback is appreciated!

My other Scripts:

Auto Login Moodle NMIT

My Profile