Greasy Fork is available in English.

哔哩哔哩精简

提供简洁的界面,只为安心看直播。

< Feedback on 哔哩哔哩精简

Review: Good - script works

可以增加一个直播全屏后缩小隐藏聊天区吗,还有默认直播最高画质,谢谢

zhagongzhengAuthor
§
Posted: 10-09-2022

你说的这两个我不会弄。
要默认画质可以安装这个脚本https://greasyfork.org/zh-CN/scripts/441090-bilibili%E7%9B%B4%E6%92%AD%E9%BB%98%E8%AE%A4%E6%9C%80%E9%AB%98%E7%94%BB%E8%B4%A8

如果你嫌两个脚本有点多余可以自己修改整合到一起,因为那个脚本是别人的在没有获得授权的情况下我不能擅自添加,会被投诉。
看我截图照着改:
1.在脚本开头添加这两行
// @run-at document-body
// @require https://greasyfork.org/scripts/38220-mscststs-tools/code/MSCSTSTS-TOOLS.js?version=1026406

2.在最末尾添加这些
(async function() {
'use strict';
let video = await mscststs.wait("#live-player > video");
if(video.paused){
video.addEventListener("playing",changeQuelity);
}else{
changeQuelity();
}


function changeQuelity(){
let livePlayer = window.livePlayer;
if(!livePlayer){
livePlayer = window.top.livePlayer;
}
let info = livePlayer.getPlayerInfo()
if(info.qualityCandidates.length > 1){
livePlayer.switchQuality(info.qualityCandidates[0].qn)
}
}



})();

zhagongzhengAuthor
§
Posted: 10-09-2022

Post reply

Sign in to post a reply.