您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Add a button for skipping 10s while watching zoom recordings
当前为
// ==UserScript== // @name Zoom Recording skipping function // @namespace http://tampermonkey.net/ // @version 0.1 // @description Add a button for skipping 10s while watching zoom recordings // @author You // @match *.zoom.us/rec/play/* // @icon https://www.google.com/s2/favicons?domain=zoom.us // @grant none // ==/UserScript== (function() { 'use strict'; function addBtn(){ const video = document.getElementsByTagName("video")[0]; const bar = document.getElementsByClassName("vjs-extend-control")[0]; const back5s = document.createElement("div"); const go5s = document.createElement("div"); back5s.innerHTML = "<5s"; go5s.innerHTML = ">5s"; back5s.style["margin-right"] = "10px"; go5s.style["margin-right"] = "10px"; back5s.style["cursor"] = "pointer"; go5s.style["cursor"] = "pointer"; bar.prepend(go5s); bar.prepend(back5s); go5s.onclick = () => { video.currentTime += 5; } back5s.onclick = () => { video.currentTime -= 5; } } window.addEventListener("load", addBtn, false); })();