您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Increases the font-size for MyAnimeList reviews to 15 px (from the default 11 px), so they're more pleasant to read.
// ==UserScript== // @name MyAnimeList: Increase the Font-Size for Reviews to 15 px // @namespace plennhar-myanimelist-increase-review-font-size-to-15-px // @version 1.0 // @description Increases the font-size for MyAnimeList reviews to 15 px (from the default 11 px), so they're more pleasant to read. // @author Plennhar // @match https://myanimelist.net/* // @license GPL-3.0-or-later // @grant none // ==/UserScript== // SPDX-FileCopyrightText: 2024 Plennhar // SPDX-License-Identifier: GPL-3.0-or-later (function() { 'use strict'; function changeFontSize() { let elements = document.querySelectorAll('.review-element'); elements.forEach(function(element) { element.style.fontSize = '15px'; }); } window.addEventListener('load', changeFontSize); const observer = new MutationObserver(changeFontSize); observer.observe(document.body, { childList: true, subtree: true }); })();