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.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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