Entry History - MAL

Get a detailed anime/manga history with the exact month/day/year and hour:minute of when you modified the watched/completed episode number of the entry.

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

// ==UserScript==
// @name         Entry History - MAL
// @namespace    https://greatest.deepsurf.us/en/users/670188-hacker09?sort=daily_installs
// @version      7
// @description  Get a detailed anime/manga history with the exact month/day/year and hour:minute of when you modified the watched/completed episode number of the entry.
// @author       hacker09
// @include      /^https:\/\/myanimelist\.net\/((anime|manga)(id=)?(\.php\?id=)?)(\/)?([\d]+)/
// @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';
  document.querySelector(".js-anime-update-button, .js-manga-update-button")?.nextElementSibling.insertAdjacentHTML('afterEnd', `<small><a href="https://myanimelist.net/ajaxtb.php?detailed${location.href.split('/')[3] === 'anime' ? 'a' : 'm'}id=${location.href.match(/\d+/)[0]}" target="_blank" style="color: #fff; float: right; background-color: #4065ba; border-radius: 4px; padding: 2px 6px; font-family: lucida grande, tahoma, verdana, arial, sans-serif; font-size: 11px; text-decoration: none;"> History</a></small>`); //Show the History button
})();