YouTube Fullscreen Exit on Video End

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

Autor
slysnake96
Dnevne instalacije
1
Ukupno instalacija
18
Ocene
0 0 0
Verzija
1.0
Napravljeno
02/07/2024
Ažurirano
02/07/2024
Licenca
MIT
Važi za

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.