MWL - MyWaifuList Auto Comment Expander

Auto expands the comments for the waifu you're viewing comments.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name        MWL - MyWaifuList Auto Comment Expander
// @name:tr     MWL - MyWaifuList Otomatik Yorum Açıcısı
// @namespace   https://myanimelist.net/profile/kyoyatempest
// @match       https://mywaifulist.moe/waifu/*
// @version     1.5
// @author      kyoyacchi
// @description Auto expands the comments for the waifu you're viewing comments.
// @description:tr Yorumlarını görüntülediğiniz waifu'nun yorumlarını otomatik olarak açar.
// @license gpl-3.0
// @run-at      document-end
// ==/UserScript==


let buton = document.getElementsByClassName("inline-flex items-center px-3 py-2 border border-gray-300 shadow-sm text-sm leading-4 font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 dark:bg-transparent dark:border-zinc-400 dark:text-zinc-400 dark:hover:text-zinc-200 dark:hover:border-zinc-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition duration-150")


if (!buton) {
  return
}

var otoaç = setInterval(()=> {
  buton[0].click();
},1500)

setTimeout(()=> {
  clearInterval(otoaç)
},60000)//1 min.
//stops after 1 min.