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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Nate2898
今日安裝
0
安裝總數
16
評價
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