您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Add a navigation bar at the top of your profile
当前为
// ==UserScript== // @name MyAnimeList(MAL) - Profile navigationbar // @version 1.0.3 // @description Add a navigation bar at the top of your profile // @author Cpt_mathix // @include http://myanimelist.net/profile* // @exclude http://myanimelist.net/profile/*/reviews // @exclude http://myanimelist.net/profile/*/recommendations // @exclude http://myanimelist.net/profile/*/clubs // @exclude http://myanimelist.net/profile/*/friends // @grant none // @namespace https://gf.qytechs.cn/users/16080 // ==/UserScript== var user = document.getElementsByTagName('title')[0].textContent.replace("\'s Profile - MyAnimeList.net", ""); var content = document.getElementsByClassName('container-right')[0]; var navigation = document.createElement('div'); content.insertBefore(navigation, content.firstChild); var string = '<div id="horiznav_nav" style="margin: 5px 0 10px;">'; string += '<ul>'; string += '<li><a href="/profile/' + user + '" class="horiznav_active">Home</a></li>'; string += '<li><a href="/profile/' + user + '/reviews">Reviews</a></li>'; string += '<li><a href="/profile/' + user + '/recommendations" rel="nofollow">Recommendations</a></li>'; string += '<li><a href="/profile/' + user + '/clubs">Clubs</a></li>'; string += '<li><a href="/profile/' + user + '/friends">Friends</a></li>'; string += '</ul>'; string += '</div>'; navigation.outerHTML = string;
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址