放大Zoom录像工具栏

让移动设备更好点击

  1. // ==UserScript==
  2. // @name Enlarge the control bar while watching Zoom Recordings
  3. // @name:zh-TW 放大Zoom錄像工具欄
  4. // @name:zh-CN 放大Zoom录像工具栏
  5. // @namespace http://tampermonkey.net/
  6. // @version 0.3
  7. // @description Bigger is better, isn't it?
  8. // @description:zh-cn 让移动设备更好点击
  9. // @description:zh-TW 讓觸屏設備更好點擊
  10. // @author You
  11. // @match *.zoom.us/rec/play/*
  12. // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
  13. // @grant none
  14. // ==/UserScript==
  15.  
  16. (function() {
  17. 'use strict';
  18.  
  19. function enlarge(){
  20. const bar = document.getElementsByClassName("vjs-control-bar")[0];
  21.  
  22. bar.style["zoom"] = "2.5";
  23. }
  24.  
  25. window.addEventListener('load', enlarge, false);
  26. })();