NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name 河南专技开启倍速播放,8倍速 // @namespace http://dltool.dong11.fun/ // @version 0.0.1 // @description 河南专技开启倍速播放,8倍速 // @author DL // @match *://hnzj.*.*.com/* // @grant none // @license MIT // ==/UserScript== var bjyPlayer = null var that = this function setAA() { let span = document.getElementsByClassName('bplayer-speed-control')[0] let inSpan = document.createElement('span') inSpan.innerHTML = "倍速" inSpan.style = "{font-size: 12px;color: #fff;}" span.appendChild(inSpan) let speedUl = span.getElementsByClassName('bplayer-option-list')[0] let li = document.createElement('li') li.innerHTML = "8倍速" li.onclick = function () { if (bjyPlayer) { bjyPlayer.video.setPlaybackRate(8) } else { bjyPlayer = baiJiaYunPlayer bjyPlayer.video.setPlaybackRate(8) } } li.className = "bplayer-option-item speed" speedUl.appendChild(li) } setTimeout(function () { setAA() setInterval(function () { if (bjyPlayer) { bjyPlayer.video.setPlaybackRate(8) } else { bjyPlayer = baiJiaYunPlayer bjyPlayer.video.setPlaybackRate(8) } }, 3000); }, 3000) //==OpenUserJS== //@author DL //==/OpenUserJS==