Crunchyroll video overlay visibility toggle

Adds an event listener on the Crunchyroll video player on the letter `h` to toggle video overlay visibility

Δημιουργός
RequiemOfSpirit
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
10
Βαθμολογίες
0 0 0
Έκδοση
1.0.2
Δημιουργήθηκε την
04/11/2023
Ενημερώθηκε την
07/11/2023
Άδεια
MIT
Εφαρμόζεται σε

Crunchyroll video overlay visibility toggle

This script adds an event listener to the Crunchyroll video player to allow toggling overlay visibility. When focused on a Crunchyroll video player, press h to toggle overlay visibility (toggle between visible and hidden). While the overlay is hidden the scrub-bar cannot be interacted with and clicking the video to pause it will not work. You can still press space to play/pause the video when focused on the player.

I wrote this script because I tend to pause videos or move my mouse around a lot while watching anime on Crunchyroll and I found the dimmed background of the Crunchyroll video player overlay that sticks around for a while to be very distracting.