您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically goes back to anime page after successfully updating an entry
当前为
// ==UserScript== // @name MyAnimeList Auto-Confirm updated entry // @namespace https://greasyfork.org/en/users/96096-purple-pinapples // @version 0.2.0 // @description Automatically goes back to anime page after successfully updating an entry // @author PurplePinapples // @license WTFPL // @run-at document-end // @match https://myanimelist.net/editlist.php?type=anime&id=* // @match https://myanimelist.net/panel.php?go=add&selected_series_id=* // @match https://myanimelist.net/panel.php?go=editmanga&id=* // @match https://myanimelist.net/ownlist/anime/*/edit // @match https://myanimelist.net/ownlist/manga/*/edit // @match https://myanimelist.net/ownlist/anime/*/delete // @match https://myanimelist.net/ownlist/manga/*/delete // @match https://myanimelist.net/panel.php?go=addmanga&selected_manga_id=* // @match https://myanimelist.net/ownlist/anime/add?selected_series_id=* // @match https://myanimelist.net/ownlist/manga/add?selected_manga_id=* // @match https://myanimelist.net/dbchanges.php?aid=* // @match https://myanimelist.net/dbchanges.php?mid=* // @grant none // ==/UserScript== (function() { 'use strict'; if ($("#content > .goodresult > strong:contains('Successfully')").length > 0) { location.href = $("#content > .goodresult > a:last-child").attr("href"); } // structure for DB pages is slightly different if (location.href.indexOf("dbchanges") != -1 && $(".goodresult:contains('Successfully')").length > 0) { location.href = $(".goodresult:contains('Successfully') > a:last-child").attr("href"); } })();