您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
网易我的世界论坛简单优化和扩展
当前为
// ==UserScript== // @name BetterNMF // @namespace ewtowit // @author ewtowit // @description 网易我的世界论坛简单优化和扩展 // @match https://mc.netease.com/* // @version NaCl // @license CC BY 4.0 // ==/UserScript== (function () { "use strict"; //在手机视图时访问PC视图 if (document.getElementsByTagName('meta')['viewport']) { var go_href = location.href + "?mobile=no"; window.open(go_href); }; //jq support let $ = jQuery; //给标签加个属性,用于以后add-on的检查 $('html').attr('Nayt','Cute'); //移除栏目(帖子都看不了了挂着作甚) $('.md-module , .md').hide(); //移除底部 $("div#OPD-COPYRIGHT").hide(); //看板绵羊 $('.stone-man').css('background','url(https://z3.ax1x.com/2021/05/23/gXtY5t.png) no-repeat bottom center/ contain'); //add avatar $('.avatar').css('margin','10px 15px'); $('.authi > a.xw1').each(function(){ var userpageurl = $(this).attr('href') var uid = userpageurl.substring(40); var avataradd = '<div><div class="avatar"><a href="https://mc.netease.com/home.php?mod=space&uid=' + uid + '" class="avtm" target="_blank"><img src="' + 'https://mc-uc.netease.com//avatar.php?uid=' + uid + '&size=middle' + '"></a></div></div>'; $(this).parent().parent().after(avataradd); }); //添加隐藏链接 $('.user-info > p').append('<a>——————</a><a href="https://mc.netease.com/home.php?mod=space&do=space&view=me">我的空间</a><a href="https://mc.netease.com/forum.php?mod=misc&action=showdarkroom">小黑屋</a><a href="https://mc.netease.com/misc.php?mod=ranklist">排行榜</a><a href="https://mc.netease.com/home.php?mod=space&do=thread&view=me&type=thread&from=&filter=recyclebin">被回收帖</a><a href="https://mc.netease.com/member.php?mod=switchstatus">切换在线状态</a><a href="https://mc.netease.com/group.php">小组</a><a href="https://mc.netease.com/home.php?mod=medal">勋章</a>'); //关闭签到提醒 $('#plugin_notice').hide(); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址