YouTube Fullscreen Exit on Video End

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

ผู้เขียน
slysnake96
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
11
คะแนน
0 0 0
เวอร์ชัน
1.0
สร้างเมื่อ
02-07-2024
อัปเดตเมื่อ
02-07-2024
สัญญาอนุญาต
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.