YouTube Fullscreen Exit on Video End

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

Autor
slysnake96
Installationen heute
0
Installationen gesamt
26
Bewertungen
0 0 0
Version
1.0
Erstellt am
02.07.2024
Letzte Aktualisierung
02.07.2024
Lizenz
MIT
Wird angewandt auf

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.