Hide the score on anime/manga on MAL as soon as the page loads. To see the entry store hover the mouse over the score.
当前为
// ==UserScript==
// @name Hide Entry Score
// @namespace ScoreHider
// @version 6
// @description Hide the score on anime/manga on MAL as soon as the page loads. To see the entry store hover the mouse over the score.
// @author hacker09
// @include /^https:\/\/myanimelist\.net\/(anime|manga)(id=)?(\.php\?id=)?\/?\d+\/?(?!.*\/).*(\?q=.*&cat=anime|manga)?$/
// @icon https://t3.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=http://myanimelist.net&size=64
// @run-at document-start
// @grant none
// ==/UserScript==
(function() {
'use strict';
document.head.insertAdjacentHTML('beforeend', '<style>div.fl-l.score > div {display: none;}</style>'); //Hide the score
document.querySelector("div.fl-l.score").onmousemove = async function() { //Creates a new function to run when the mouse is hovering the score
document.querySelector("div.fl-l.score > div").style.display = 'block'; //Show the score
}; //Finishes the onmousemove event listener
})();