🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

163 Music MediaMetadata

在网易云音乐 Web 版上启用 MediaSession 支持

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Author
864907600cc
Daily installs
0
Total installs
335
Ratings
4 0 0
Version
1.0
Created
2020-01-18
Updated
2020-01-18
Size
4.94 KB
License
N/A
Applies to

163 Music MediaMetadata

[DEPREATED] 此功能已于 2020 年 7 月在云音乐主站支持,此脚本已不再需要,继续使用可能会导致冲突

在网易云音乐 Web 版上启用 MediaSession 支持

安装

功能

  • 在支持的浏览器和系统的播放控件上展示播放状态

  • 支持切换上一曲与下一曲播放

使用说明

注意事项

  • 目前可能仅 Chrome 浏览器支持

  • 据 MDN 兼容性列表,Firefox 浏览器理论上是支持的,但是在 Windows 上似乎不起作用,即便在 about:config 上开启 dom.media.mediasession.enabled 也不会调用系统 API,建议关注 bugzilla 了解支持进度

  • 若在多个页面切换播放,在 Chrome 浏览器上可能会显示多个播放状态

脚本信息

  • Author: 864907600cc (@ccloli)
  • License: GPLv3