Restores normal thumbnails size
当前为
// ==UserScript==
// @name YouTube Normal Thumbnails
// @namespace http://greasyfork.org
// @version 0.1
// @description Restores normal thumbnails size
// @author NeoCortex
// @match https://www.youtube.com/
// @grant none
// ==/UserScript==
(function() {
var e = document.querySelector('ytd-rich-grid-renderer');
e.style.cssText = e.style.cssText.replace(/\-\-ytd\-rich\-grid\-items\-per\-row\:\s*\d{1,3}\;/, '--ytd-rich-grid-items-per-row: 5;');
var s = document.createElement('style');
s.innerHTML = 'ytd-rich-grid-video-renderer[mini-mode] #video-title.ytd-rich-grid-video-renderer {font-size: 1.3rem;}';
document.body.appendChild(s);
})();