MyAnimeList(MAL) - Profile Switch (2)

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

  1. // ==UserScript==
  2. // @name MyAnimeList(MAL) - Profile Switch (2)
  3. // @version 1.0.6
  4. // @description Switch "About me" with "Statistics and Favorites" in your profile
  5. // @author Cpt_mathix
  6. // @include *://myanimelist.net/profile*
  7. // @exclude *://myanimelist.net/profile/*/reviews
  8. // @exclude *://myanimelist.net/profile/*/recommendations
  9. // @exclude *://myanimelist.net/profile/*/clubs
  10. // @exclude *://myanimelist.net/profile/*/friends
  11. // @grant none
  12. // @namespace https://gf.qytechs.cn/users/16080
  13. // ==/UserScript==
  14.  
  15. // solve conflict with navigationbar script
  16. var n = 0;
  17. if (document.getElementById('horiznav_nav') !== null)
  18. n = 1;
  19.  
  20. // switch statistics and user information
  21. var profile = document.getElementsByClassName('container-right')[0];
  22. if (profile.innerHTML.indexOf('user-profile-about') > -1) {
  23. profile = profile.childNodes;
  24. profile[3+n].parentNode.insertBefore(profile[3+n], profile[0+n]);
  25. profile[5+n].parentNode.insertBefore(profile[5+n], profile[1+n]);
  26. profile[7+n].parentNode.insertBefore(profile[7+n], profile[2+n]);
  27. }

QingJ © 2025

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