Remove MangaInProgress

26.4.2026, 11.46.08

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        Remove MangaInProgress
// @namespace   Violentmonkey Scripts
// @match       https://anilist.co/*
// @icon        data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACHklEQVQ4T5VTX0hTcRT+zu7drsp0i9hsYxVmD6WbEEVFD0I9BL4HEfUUhEUZlRquPxhBBUUGaUTLoJZSQgRCxBLKKEYUGwaZD4EaMfAlYkLpuN57T/f3g81mf7YO3IfL73zf+c4536FQfaTFZLoM5kYAZH/lBIPoo0J8kgJrmj7Y4HA5qN9yiMYpUBexllRmTdPIQQ7oCzoMckocGbk/1WBBwPkXy7IQCa9HtOMoaqrdeJr+hPMzfnBlDTyJXmjTaVt5cZdFBIZpovPYIXQePyI5x7/p2J5U8XWe4B46herUMKCoRUoKBMyMZV4P4v292LRxg0zKmYy9b4HHGZQmENWbt21F/E6fBGdnZxEMrEBsCmhNcWkC0f/Z6Akcbt2PVHoMo6+SspWp74wto4zc3dN/byEvf+h+zB5iAwYePEJi5Dn6rl2C2+PF7jeMkav/mIGQv3NHM2I3elBVVYlsNosfc/Oo9fugqioGP1s42F5CwZWL3di3ZxcMw4CuLxQmLQhFGy3xMUx+yYAcCtgy4U0OwpmZANWubuRQMICHtvy19XV48fI1eq7fkgRN4XU409UuVR14D/RPL27QPRCVMyHfqgbebK+tq6MNFZoLN2/fw/CTZzLT71uOC+eiWBkKIjHD6J4oeE4aq2LyHaSVFUUhl9MlQcK+pj2TfNi2hrC1iDljkcC2tvwp65jElpZaWDKKY/rlnP/vIm2wOOefuwrlqMNkePsAAAAASUVORK5CYII=
// @license     MIT
// @version     1.2
// @author      AnzoDK
// license      MIT
// @description 26.4.2026, 11.46.08
// ==/UserScript==


var targetNode = document.body;
const mo = new MutationObserver(PageMonitor);
const targetNodeObserver = new MutationObserver(LoadChecker);

function LoadChecker(mutationList, observer)
{
  if(targetNode == document.body)
    {
      var nodeList = document.getElementsByClassName("list-previews");
      if(nodeList.length == 1)
        {
          if(nodeList[0].children.length == 2)
            {
              RemoveMangaInProgress();
              observer.disconnect();
              return;
            }
        }
      /*for(var i = 0; i < mutationList.length; i++)
        {

        }*/
    }
}

function PageMonitor(mutationList, observer)
{
  if(document.location.href.startsWith("https://anilist.co/home"))
    {
      targetNodeObserver.observe(targetNode, { attributes: false, childList: true, subtree: true });
    }
}

function RemoveMangaInProgress()
{
  var nodeList = document.getElementsByClassName("list-previews");
      if(nodeList.length == 1)
        {
          nodeList[0].removeChild(nodeList[0].children[1]); //Remove the manga in progress - Maybe a little aggressive...
          console.log("[MangaInProgress Remover] Manga in progress Removed! :)")
        }
}

function Init()
{
  mo.observe(document.head, { attributes: false, childList: true, subtree: true });
  targetNodeObserver.observe(targetNode, { attributes: false, childList: true, subtree: true });

}
setTimeout(Init, 1000);
//Init();