注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
?_=1
来访问最新页面。https://mzh.moegirl.org.cn/User:%E9%B8%BD%E9%B8%BD%E9%B8%BD%E9%B8%BD%E9%B8%BD%E9%B8%BD%E5%AD%90/common.js?_=1
if ( /Macintosh|iPhone|iPad/.test(navigator.userAgent) ) { mw.loader.addStyleTag('.wenzimohu, .wenzimohu * { transition-duration: 0.75s; }'); mw.hook('wikipage.content').add(function ($content) { $content.find(".wenzimohu , .wenzimohu *").filter(function () { return $(this).css("color") == "rgba(0, 0, 0, 0)"; }).hover(function () { $(this).css( "color", ($(this).css("text-shadow").match(/rgb\(.*?\)/) || ["inherit"])[0]); }, function () { $(this).css("color", "rgba(0, 0, 0, 0)"); }); }); }