Youtube停止顯示轉圈圈、暫停、撥放的動畫

Youtube網路不穩時的轉圈圈動畫移除之類的。

目前为 2020-09-22 提交的版本。查看 最新版本

// ==UserScript==
// @name         Youtube停止顯示轉圈圈、暫停、撥放的動畫
// @namespace    https://greasyfork.org/zh-TW/scripts/411754-youtube%E5%81%9C%E6%AD%A2%E9%A1%AF%E7%A4%BA%E8%BD%89%E5%9C%88%E5%9C%88-%E6%9A%AB%E5%81%9C-%E6%92%A5%E6%94%BE%E7%9A%84%E5%8B%95%E7%95%AB
// @version      2.0
// @description  Youtube網路不穩時的轉圈圈動畫移除之類的。
// @author       fmnijk
// @match        https://www.youtube.com/watch?*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    document.querySelectorAll('.ytp-spinner').forEach(function(a){
        a.remove()
    })
    document.querySelectorAll('.ytp-bezel').forEach(function(a){
        a.remove()
    })
})();