您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Replaces "," with line breaks for the "Related Anime" thing
// ==UserScript== // @name Line Breaker for MyAnimelist // @namespace https://myanimelist.net/profile/CyCeph // @version 0.5 // @description Replaces "," with line breaks for the "Related Anime" thing // @author CyCeph // @include /^https?:\/\/myanimelist.net\/((anime(list)?|manga|news|featured)(.php?id=|\/)|character|people|search)/ // ==/UserScript== (function() { 'use strict'; var paragraphs = document.querySelectorAll("table.anime_detail_related_anime,table.mb24.news-related-database,div.mr8"); for (var i = 0; i < paragraphs.length; i++) { paragraphs[i].innerHTML = paragraphs[i].innerHTML.replace(/>, /g, "><br/>") } })();