Greasy Fork

Greasy Fork is available in English.

Crunchyroll video overlay visibility toggle

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

目前为 2023-11-04 提交的版本。查看 最新版本

作者
RequiemOfSpirit
评分
0 0 0
版本
1.0.0
创建于
2023-11-04
更新于
2023-11-04
大小
898 字节
许可证
MIT
适用于

Crunchyroll video overlay visibility toggle

This script adds an event listener to the Crunchyroll video player to allow toggling visibility. When focused on a Crunchyroll video player, press h to toggle overlay visibility (toggles between 0 and 1 opacity).

This script changes opacity and not display or visibility to still allow clicking to pause/play videos and double clicking to fullscreen videos. This also means if you accidentally click the bottom of the video, you could click somewhere in the still active scrub-bar and jump to a different part of the video unintentionally.

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.