MyAnimeList(MAL) - Profile Switch (2)

Switch "About me" with "Statistics and Favorites" in your profile

// ==UserScript==
// @name         MyAnimeList(MAL) - Profile Switch (2)
// @version      1.0.6
// @description  Switch "About me" with "Statistics and Favorites" in your profile
// @author       Cpt_mathix
// @include      *://myanimelist.net/profile*
// @exclude      *://myanimelist.net/profile/*/reviews
// @exclude      *://myanimelist.net/profile/*/recommendations
// @exclude      *://myanimelist.net/profile/*/clubs
// @exclude      *://myanimelist.net/profile/*/friends
// @grant        none
// @namespace https://gf.qytechs.cn/users/16080
// ==/UserScript==

// solve conflict with navigationbar script
var n = 0;
if (document.getElementById('horiznav_nav') !== null)
    n = 1;

// switch statistics and user information
var profile = document.getElementsByClassName('container-right')[0];
if (profile.innerHTML.indexOf('user-profile-about') > -1) {
    profile = profile.childNodes;
    profile[3+n].parentNode.insertBefore(profile[3+n], profile[0+n]);
    profile[5+n].parentNode.insertBefore(profile[5+n], profile[1+n]);
    profile[7+n].parentNode.insertBefore(profile[7+n], profile[2+n]);
}

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址