YouTube Fullscreen Exit on Video End

Exits fullscreen mode when a YouTube video ends by directly using the fullscreen API.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
slysnake96
日安装量
2
总安装量
41
评分
1 0 0
版本
1.0
创建于
2024-07-02
更新于
2024-07-02
大小
3.1 KB
许可证
MIT
适用于

This script exits fullscreen mode when a YouTube video ends by directly using the fullscreen API

I made this script with the help of ChatGPT because I was tired of having to lean forward in my chair and push a button or double click to exit fullscreen when the videos I'm watching end.
I use a lot of Userscripts and custom theme stuff and so I do not know how well this will work, especially if you are using different scripts or themes than what I am using.
I am by no means a coder at all and so I wouldn't have the slightest idea on how to fix it if it ever breaks because I am only a beginner with CSS and HTML.
I am happy for anybody to use, edit and re-publish this script in a working order with no credit needed since it was made using the help of ChatGPT.