Manages YouTube fullscreen switching. Mode3:Web FS(Centered Container+UI); Mode4:Web FS(Top Video Only,Legacy). Core functionality only activates on video playback pages.
AI-generated
This is a feature extracted from the updated Scroll Volume DX version: https://greasyfork.org/zh-TW/scripts/536402
Functionality is limited to replacing full-screen YouTube views with either: 2. Browser API, or 3. Maximized webpage (including interface), or 4. Variation (no interface, only video pinned).
The default is 2. Browser API, where double-clicking and NumpadEnter trigger the maximize switch; 4. Because there's no interface, a single click pauses the video.
The original version excluded mode 4 because it couldn't be implemented.
or you can use https://greasyfork.org/zh-TW/scripts/571074-youtube-%E7%84%A1%E9%82%8A%E6%A1%86