Character pages Fix - MAL

Shows a next page button on the Top character pages and lets you see all Top character pages on MAL.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         Character pages Fix - MAL
// @namespace    https://greatest.deepsurf.us/en/users/670188-hacker09?sort=daily_installs
// @version      1
// @description  Shows a next page button on the Top character pages and lets you see all Top character pages on MAL.
// @author       hacker09
// @match        https://myanimelist.net/character.php?limit=*
// @icon         https://t3.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=http://myanimelist.net&size=64
// @run-at       document-end
// @grant        none
// ==/UserScript==
(function() {
  'use strict';
  if (document.querySelector(".next") === null) {
    document.querySelector(".icon-top-ranking-page").insertAdjacentHTML('AfterEnd', `<span class="di-ib ml8 icon-top-ranking-page">  <a href="https://myanimelist.net/character.php?limit=${parseInt(location.href.match(/\d+/)[0])+50}" class="link-blue-box next">Next 50<i class="fa-solid fa-chevron-right ml4"></i></a></span>`);
  }
})();