您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
BufferTime Set 250s
当前为
// ==UserScript== // @name bilibili BufferTime Change // @version 0.0.6 // @description BufferTime Set 250s // @author Vanisoul // @match https://www.bilibili.com/* // @require https://greasyfork.org/scripts/472487-bilibili-get-video-player/code/bilibili%20Get%20Video%20Player.js?version=1234536 // @license MIT // @namespace https://greasyfork.org/users/429936 // ==/UserScript== const key = "v"; document.addEventListener('keydown', function(event){ if(event.key.toLocaleLowerCase() === key){ console.log(`Now BufferLength : ${window.BGHFDBVEAWSGV_dashPlayer.getBufferLength()}`); } }); window.addEventListener('vanisoul_dashPlayer_Ready', function(e) { const dashPlay = e.detail; dashPlay.player.setBufferPruningInterval(3); dashPlay.player.setStableBufferTime(250); dashPlay.player.setBufferTimeAtTopQuality(250); dashPlay.player.setBufferTimeAtTopQualityLongForm(250); dashPlay.player.setBufferAheadToKeep(250 + 10); dashPlay.player.setBufferToKeep(30000); console.log("hook set buffer time 250"); window.BGHFDBVEAWSGV_dashPlayer = e.detail; });