您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
When MAL bugs showing ERROR messages or is blank and doesn't load the script reloads the page until MAL is successfully loaded...
当前为
// ==UserScript== // @name MALFunction - "Fix" ERRORS on MAL // @namespace MALFunction // @version 0.9 // @description When MAL bugs showing ERROR messages or is blank and doesn't load the script reloads the page until MAL is successfully loaded... // @author hacker // @match https://myanimelist.net/* // @exclude https://myanimelist.net/animelist/* // @exclude https://myanimelist.net/mangalist/* // @icon https://www.google.com/s2/favicons?domain=myanimelist.net // @run-at document-end // @grant none // ==/UserScript== (function() { 'use strict'; if (document.querySelector("#contentWrapper") === null) { location.reload(); //Reloads the page } if (document.querySelector("title").innerText === "500 Internal Server Error" || document.querySelector("title").innerText === "504 Gateway Time-out" || document.querySelector("title").innerText === "ERROR: The request could not be satisfied") { location.reload(); //Reloads the page } })();