Greasy Fork is available in English.

使用 MPV 播放

通过 mpv-handler 播放网页上的视频和歌曲

作者
Stack Exploit
日安装量
0
总安装量
360
评分
0 0 0
版本
2023.07.04
创建于
2023-07-08
更新于
2023-07-08
许可证
MIT
适用于
所有网站

This is based on the original which only had a few supported sites. This one basically only has its code changed so that the return value is always true. so that all supported sites are enabled. This is not ideal because now also all unsupported sites are enabled too but I can't be bothered to make it any better as long as it works wherever I need it to.

I'm sharing this for myself, and for anyone else who may find it useful. Be aware that there may be about 10 seconds for the mpv-handler to open the video for you fter the command line interpreter window appears. This is regardless of the current script. Some verbosity would be nice so it doesn't appear like it's not doing anything).

Admittedly, ideally it'd be best to get a list of youtube-dlp extractor website URLs and paste them into this script appropriately. That would make the button not appear on unsupported websites without videos, but I can't be bothered. Maybe you will?