Take a note that at this moment script doesn't support rewatching/rewatched shows (It will take the newest date of the last watched ep)
Instruction how to prepare and run the script:
Open Dev Tools (Right Mouse Button and Inspect Element or just F12) and click "Network"
Turn on the script, then go to https://anime.plus/ and write Your MAL profile name
After your data got loaded (refresh to see changes), go to history of anime, and the script will inform you about the start in the console
Let the script work, it will gather data about dates, then redirect you to random anime (from your list) edit detail site, and then it will continue the work
After the console messages stop appearing, check in the "Network" tab if all the requests got status 200