您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
讓你任意的拖動進度條!
// ==UserScript== // @name 拖動!新課綱銜接平台!! // @namespace https://greasyfork.org/users/795886 // @version 0.4 // @description 讓你任意的拖動進度條! // @author ZRE // @include *://ecc.pro.edu.tw/BackEnd/TR_Watch/Index/* // @grant none // ==/UserScript== (function() { videojs("MainVideo").ready(function () { var sheet = document.createElement('style'); sheet.innerHTML = ` .video-js .vjs-time-control{display: block;} .video-js .vjs-remaining-time{display: none;} .vjs-progress-control {display: inherit !important;} `; document.body.appendChild(sheet); this.off('seeking'); this.off('seeked'); this.off('timeupdate'); this.on('timeupdate', function(){ this.controlBar.currentTimeDisplay.updateContent(); this.controlBar.progressControl.seekBar.startUpdate(); }); }); })();