Greasy Fork is available in English.

YouTube Fullscreen Exit on Video End

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

ئاپتورى
slysnake96
بۈگۈن قاچىلانغىنى
1
جەمئىي قاچىلانغىنى
26
باھا نومۇرى
0 0 0
نەشرى
1.0
قۇرۇلغان ۋاقتى
2024-07-02
يېڭىلانغان ۋاقتى
2024-07-02
ئىجازەتنامىسى
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.