MyAnimeList Watch Next

Get a random anime to watch from your list.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         MyAnimeList Watch Next
// @namespace    http://tampermonkey.com/
// @version      1.1
// @description  Get a random anime to watch from your list.
// @author       Nekosuki
// @include      /^https://myanimelist.net/animelist/.+\?status=6$/
// @grant        none
// @run-at       document-idle
// ==/UserScript==

(function($) {
    'use strict';
    $(document).ready(() => {
        const ptw = $(".list-item .list-table-data > .plantowatch").parent().children(".title").children("a.link");
        const wn = ptw[Math.floor(Math.random() * ptw.length)];
        $("div.list-block").prepend("<div class=\"list-unit plantowatch\"><div style=\"margin-bottom: 15px\" class=\"list-status-title\"><span class=\"text\">Watch next: <i><a style=\"color:white\" href=\"" + wn.href + "\">" + wn.text + "</a></i></span></div></div>");
    });
})(window.jQuery);