Remove MangaInProgress

26.4.2026, 11.46.08

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==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();