Greasy Fork is available in English.

Aniwave MyAnimeList Search

Adds a link to search MyAnimeList.net from Aniwave watch page

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
// ==UserScript==
// @name        Aniwave MyAnimeList Search
// @namespace   forked_bytes
// @match       https://*.aniwave.to/watch/*
// @match       https://*.aniwave.vc/watch/*
// @match       https://*.aniwave.li/watch/*
// @grant       none
// @version     1.0.2
// @author      forked_bytes
// @license     0BSD
// @description Adds a link to search MyAnimeList.net from Aniwave watch page
// ==/UserScript==

const title = document.querySelector('h1.title');
if (!title) return;

const link = document.createElement('a');
link.target = '_blank';
link.title ='MyAnimeList';
link.innerHTML = ` <img width="16" height="16" src="https://cdn.myanimelist.net/images/favicon.ico">`;
link.href= `https://myanimelist.net/anime.php?q=${encodeURIComponent((title.dataset.jp || title.textContent).slice(0, 100))}&cat=anime`;

title.appendChild(link);